wine_filehandles: if the file handle gets reassigned the it's ok to check
commit9568033944d1fec41a9634bd0a8c24d3605c8c77
authorDan Carpenter <error27@gmail.com>
Tue, 19 Jan 2010 11:12:36 +0000 (19 14:12 +0300)
committerDan Carpenter <error27@gmail.com>
Tue, 19 Jan 2010 11:12:36 +0000 (19 14:12 +0300)
treeac2a5288ed38664ae25e0001a697e6361b318fea
parentdf6e110f444efd877b5c80d47cb09b9c9be65fef
wine_filehandles: if the file handle gets reassigned the it's ok to check

Here is what we want:
     8          foo = CreateFile();
     9          if (!!foo)  // <- complain here
    10                  frob();
    11          foo = CreateFile();
    12          foo++;
    13          if (foo == 0) // <- don't complain here

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_wine_filehandles.c