[PATCH] Fix 'set but not used' warnings

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Feb 15 09:34:09 UTC 2014


On Tue, Feb 04, 2014 at 01:12:06PM +0300, Mwanguhya Daniel Murungi wrote:
> This patch uses 'attribute_unused' to clean up the following warnings
> related to unused variables.
> 
> regex_internal.c:653:20: warning: variable 'buf' set but not used
> fts.c:580:6: warning: variable 'cderrno' set but not used

cderrno handling is dead code, i have commented out the stores, too.

Thanks!


More information about the uClibc mailing list