bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cppcheck errors and gcc warning


From: Arno Onken
Subject: cppcheck errors and gcc warning
Date: Tue, 19 Mar 2013 10:49:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

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

[Prev in Thread] Current Thread [Next in Thread]