capped: move binop handling into a separate function
commit181b9b77def4f713ec20933ee6b6e4c02df2e658
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Aug 2020 08:35:13 +0000 (13 11:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Aug 2020 08:35:13 +0000 (13 11:35 +0300)
tree1e537c1875b4c1e637f0d0b4edaa0cd55a552108
parentcb6b4b81a5ed4e1925acc85c12d1ef494086023d
capped: move binop handling into a separate function

I just pulled this into its own function.  I changed it to bool instead of
int as well.  This doesn't change how the code runs.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_capped.c