Changed not used macro from do {} while(0), to for(;;) { ... break; }

This commit is contained in:
Mikko Mononen 2014-06-15 11:32:27 +03:00
parent ec2dfba0f1
commit 0c7feda665

View file

@ -584,7 +584,7 @@ struct NVGparams* nvgInternalParams(struct NVGcontext* ctx);
// Debug function to dump cached path data.
void nvgDebugDumpPathCache(struct NVGcontext* ctx);
#define NVG_NOTUSED(v) do { (void)(1 ? (void)0 : ( (void)(v) ) ); } while(0)
#define NVG_NOTUSED(v) for (;;) { (void)(1 ? (void)0 : ( (void)(v) ) ); break; }
#ifdef __cplusplus
}