This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to Add -Wunused-returns
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: "David E. Weekly" <dweekly at legato dot com>
- Cc: gcc at gnu dot org
- Date: Fri, 7 Dec 2001 07:32:46 +0000
- Subject: Re: Patch to Add -Wunused-returns
- References: <0c4f01c17edd$5bbbefc0$5c044589@legato.com>
David E. Weekly wrote:-
> +/* Check to see if a non-void function's return value is ignored. */
Comments end in full stop followed by 2 spaces in GCC.
> + /* Make sure our expression is a function. */
> +/* Warn about unused return values from non-void functions. */
Neil.