cppcheck version 1.58 reports the following errors on the latest
Savannah respository checkout of gnulib (last changeSat, 16 Mar 2013
05:13:46 +0000):

[lib/rpmatch.c:113]: (error) Memory leak: safe_pattern
[lib/regcomp.c:2848]: (error) Uninitialized variable: symb_table
[lib/regcomp.c:2847]: (error) Uninitialized variable: table_size
[lib/regcomp.c:2850]: (error) Uninitialized variable: table_size

Also, gcc version 4.7.2 reports a warning:

copy-file.c: In function 'qcopy_file_preserving':
copy-file.c:143:9: warning: ignoring return value of 'chown', declared
with attribute warn_unused_result [-Wunused-result]

Reply via email to