Ethereal-dev: Re: [Ethereal-dev] GIOP + idl2eth

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 15 Jun 2001 00:08:55 -0700
On Fri, Jun 08, 2001 at 07:33:26AM -0500, Frank Singleton (EUS) wrote:
> Hmm, how do you skip the warning for this function that
> is only called from inside "#if DEBUG".
> Do i call it with some dummy argument somewhere, so that it  just returns ?

No, you put the *definition* of the function inside "#if DEBUG"/"#endif"
as well (along with the definitions of all functions it calls and
nothing else calls).