or_vs_and: handle conditions inside parenthesis
commit9a3a35397014abf777d581828e1836435f434fac
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Feb 2013 13:07:58 +0000 (1 16:07 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Feb 2013 13:07:58 +0000 (1 16:07 +0300)
treecb825b1fb61e6346d2e610d2c382ffa7146a7262
parent33345193d59ec2d996de46e803b470a1bdbbcb98
or_vs_and: handle conditions inside parenthesis

This was printing an error message for:

if (a != 1 || a != 0) { ...

But it wasn't printing a message for:

if ((a != 1) || (a != 0)) { ...

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