Martin Reddy (mxr++at++dcs.ed.ac.uk)
Thu, 15 May 1997 14:22:22 +0100 (BST)
This does nothing - they are simply there to stop compiler warnings. The
two parameters channel and data aren't used in the function so the
compiler will usually throw a warning message. To suppress this, you just
reference the variable and do nothing with it, e.g. "(data);" just returns
the value of data and ignores it - i.e. does nothing. Most compilers will
probably be able to optimise this out anyway.
Cheers,
Martin.
------------------------------------------------------------------------------
Martin Reddy SRI International, AI Center
Menlo Park, CA 94025-3493
reddy++at++ai.sri.com Tel. +44 131 650 5164 (temp)
http://www.dcs.ed.ac.uk/~mxr Fax. +44 131 667 7209 (temp)
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:14 PDT