[cfe-dev] False positives for unused variable

Steven Osborn osborn.steven at gmail.com
Thu Feb 25 20:01:46 PST 2010


I'm getting a slew of errors like this in the minizip libs.

1055:17 Value stored to 'err' is never read

http://bitbucket.org/urbanairship/storefront/src/5cd9eba47943/Airship/External/ZipFile-OC/minizip/zip.c#cl-1055

but the value is read on like 1064

http://bitbucket.org/urbanairship/storefront/src/5cd9eba47943/Airship/External/ZipFile-OC/minizip/zip.c#cl-1064

and in the while loop itself on line 1049

http://bitbucket.org/urbanairship/storefront/src/5cd9eba47943/Airship/External/ZipFile-OC/minizip/zip.c#cl-1049


Let me know if I should file a bug report and if there is any way I
can work around the errors for now.

--
Steven Osborn
http://steven.bitsetters.com



More information about the cfe-dev mailing list