bug-gnulib
[Top][All Lists]
Advanced

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

Re: ignoring unused values


From: Bruno Haible
Subject: Re: ignoring unused values
Date: Thu, 3 Apr 2008 01:19:46 +0200
User-agent: KMail/1.5.4

Jim Meyering wrote:
> >     * tests/test-wctype.c (main): Explicitly ignore unused values.
> 
> That's ok, too.  It's only a test driver after all.

Uh? Do you have an argument against (void) casts in library code? I thought
and think, the easiest way to silence "statement with no effect" warnings is
to introduce casts to void add the right place. All compilers support this,
and it has no effect on the generated code. 

Bruno





reply via email to

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