mirror of
https://github.com/memononen/nanovg
synced 2026-09-26 16:19:07 +03:00
Changed not used macro from do {} while(0), to for(;;) { ... break; }
This commit is contained in:
parent
ec2dfba0f1
commit
0c7feda665
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue