bug-findutils
[Top][All Lists]
Advanced

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

[bug #14614] Incorrect C code in findutils 4.2.25


From: Eric Blake
Subject: [bug #14614] Incorrect C code in findutils 4.2.25
Date: Thu, 22 Sep 2005 07:20:57 -0600
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

Follow-up Comment #1, bug #14614 (project findutils):

The code is valid in C99, but some people are still using C89 compilers, so
the fix should be applied.

Also, regexprops.c could use some work, too:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../gnulib/lib     -g2
-Wall -Werror -MT regexprops.o -MD -MP -MF ".deps/regexprops.Tpo" -c -o
regexprops.o regexprops.c; \
then mv -f ".deps/regexprops.Tpo" ".deps/regexprops.Po"; else rm -f
".deps/regexprops.Tpo"; exit 1; fi
regexprops.c: In function `describe_regex_syntax':
regexprops.c:434: warning: control reaches end of non-void function
regexprops.c: At top level:
regexprops.c:71: warning: 'table_item' defined but not used
regexprops.c:79: warning: 'code' defined but not used
regexprops.c:106: warning: 'begintable_asis' defined but not used


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14614>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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