The point really was that the unused method parameter should in almost all cases be removed, not that some trick should be used to make it seem used, and this is the wrong trick!
#if otherbuild
dosomething(param);
#endif
the above type of thing happens once in a while. nos the paramater is needed but the normal build doesn't use it