I'm porting some code from cpp and I'd like to kno...
# random
e
I'm porting some code from cpp and I'd like to know what means
(void)debugDraw;
in the following?
Copy code
void	SphereTriangleDetector::getClosestPoints(const ClosestPointInput& input,Result& output,class btIDebugDraw* debugDraw,bool swapResults)
{
	(void)debugDraw;
        ....
}
d
I haven’t seen that particular construct before, but it looks to me like a no-op.
Basically it's done to avoid compiler warnings about unused parameters.
e
thanks both
p
#justcppthings