This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Quash warning
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 17 Aug 2012 14:08:05 -0700 (PDT)
- Subject: Re: [PATCH] Quash warning
- References: <20120817210444.GQ3756@redhat.com>
> This quashes one unused-but-set warning. Ok?
This is OK, but if there are many that come from the same macros then it
might be worth looking into a different approach that makes the macro
itself arrange to suppress the warning, rather than cluttering up a lot of
source code. I'm not sure if just adding a 'foo = foo;' statement is
enough, but it might be.
Thanks,
Roland