rosenberg: strip away some casting (eliminates a false positive)
commit2c1c2c2b320246a794c7804f16b09903d2055e52
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Feb 2015 10:53:38 +0000 (17 13:53 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Feb 2015 10:53:38 +0000 (17 13:53 +0300)
tree6d0fc821312aa108e8763504c90f20446cdb524a
parentd1a8302f5f29ee5579ff708a9dd4442daaa8e7e2
rosenberg: strip away some casting (eliminates a false positive)

If we call "memset((char *)foo, 0, sizeof(foo));" then it means we clear
"foo".  Ignore the cast.

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