flow: global structs without an initializer are initialized to zero
commitd64957576f0a61a26d64a86421b0e353ac8ec093
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 10 Jan 2014 10:17:45 +0000 (10 13:17 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 10 Jan 2014 10:17:45 +0000 (10 13:17 +0300)
tree5e4c016edf1a2091cf7f8568ae60e6c38047012b
parent297559df4ba3d947aa4d8a6f3d8d15fda077dbf3
flow: global structs without an initializer are initialized to zero

If you have a global struct like:

struct foo foo;

Then foo.bar is initialized to zero.

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