Re: [AD] Unused parameter

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> void unused_params(int a, char* b)
> {
> 	(int)a;
> 	(char*)b;
> }

This will also generate warnings, because the values computed are unused and 
the expressions have no side-effects. Seriously, if you're worried about 
casting to void, start a thread on comp.lang.c or something.

Ben



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/