View Single Post

   
  #5 (permalink)  
Old 04-15-2008, 09:06 PM
Stephen Frost
 
Posts: n/a
Default Re: Can someone explain this code?

* Magnus Hagander (magnus@hagander.net) wrote:
> On Thu, Jul 19, 2007 at 06:41:17AM -0400, Stephen Frost wrote:
> > Stop the compiler from complaining about an unused argument.

>
> That makes sense, except my compiled didn't warn even when I took it out
> :-) Ah, well, thanks for clearifying.


It depends on the compiler you're using.. My recollection is that
it shows up at least w/ gcc and -Wall and/or -pedantic.

Thanks,

Stephen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGn1MvrzgMPqB3kigRAhsdAJ4hom4KuG4gIw9P1Ccz2t LwGrItlQCcCKST
Z0F0YANvsOyzXZoyIYswZl8=
=qyD2
-----END PGP SIGNATURE-----

Reply With Quote