Re: [PATCH] unused variables [APPLIED]

2002-01-12 Thread Dan Sugalski
At 11:03 PM 1/7/2002 +, Nicholas Clark wrote: >If I've got this right, then this patch silences all warnings about unused >variables, except for those from the ops files. Applied. Thanks. (And sorry for the delay) Dan -

Re: [PATCH] unused variables

2002-01-08 Thread Nicholas Clark
On Mon, Jan 07, 2002 at 07:32:43PM -0800, Steve Fink wrote: > would appeal more to other compilers. My only complaints with > 'if (0 || a) {}' are (1) I can easily see it getting optimized away > and complaining anyway on a later gcc version or different compiler, I was under the impression that

Re: [PATCH] unused variables

2002-01-07 Thread Steve Fink
On Mon, Jan 07, 2002 at 11:03:05PM +, Nicholas Clark wrote: > --- include/parrot/parrot.h~ Sat Dec 15 14:21:03 2001 > +++ include/parrot/parrot.h Mon Jan 7 21:56:40 2002 > @@ -68,6 +68,11 @@ > typedef void* BIGINT; > typedef void* BIGFLOAT; > > +/* define a macro to acknowledge an unus

[PATCH] unused variables

2002-01-07 Thread Nicholas Clark
If I've got this right, then this patch silences all warnings about unused variables, except for those from the ops files. This may not be the preferred way to do it, but it does flag where all the unused parameters currently are. Nicholas Clark --- include/parrot/parrot.h~Sat Dec 15 14:21: