Browse Source

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

shared-context
Mikko Mononen 11 years ago
parent
commit
0c7feda665
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nanovg.h

+ 1
- 1
src/nanovg.h 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
}


Loading…
Cancel
Save