core: silence some false positives from parsing invalid code
commitf854520dc97da3d6e619a60233dd2960c7ad305b
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Jan 2018 14:05:14 +0000 (25 17:05 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Jan 2018 14:05:14 +0000 (25 17:05 +0300)
treea2291d87d03737ed11fdbed586b0193a5889073b
parenta1cf69040b2ce9576baf4d16071d5c08e02852fb
core: silence some false positives from parsing invalid code

Sometimes when you're parsing invalid code you come to code like:

if (x >= sizeof(undeclared_type)) {

Smatch returns that the size is zero.  It causes warnings.  This silences
some of those warnings (but just a few).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.c
smatch.h
smatch_flow.c
smatch_math.c