Re: What is this?

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Mon, 26 Feb 1996 11:28:59 -0800


On Feb 26, 1:34pm, Nuno Godinho wrote:
> Subject: What is this?
> In the CullChannel function of the 'complex.c' sample file there is a
> strange line which I don't seem to understand.
>
> What is the purpose of (channel, data)?
> This line was not present in the Performer 1.2 version of this file.
> Why?
>
> static void
> CullChannel(pfChannel *channel, void *data)
> {
>
> (channel, data);
>
> pfCull();
> }
>
> thanks
> Nuno
>-- End of excerpt from Nuno Godinho

 I guess that is to avoid compiler warning from giving a warning something
similar to : "warning : channel declared but not used"..... etc.

-anita


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:27 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.