This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to Add -Wunused-returns


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]