Skip to content

Commit 79c169e

Browse files
authored
Merge pull request #829 from CloverHackyColor/copilot/fix-action-job-build-clover-release
Fix unused variable build error in nanosvg.cpp
2 parents 5cb3712 + 6b39f85 commit 79c169e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rEFIt_UEFI/libeg/nanosvg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,12 @@ void nsvg__dumpFloat(CONST char* s, float* t, int N)
227227
DBG("%s: ", s);
228228
for(int i=0; i<N;i++)
229229
{
230+
#if DEBUG_SVG != 0
230231
float a = t[i];
231232
int b = (int)a;
232233
int sign = (a < 0.f);
233234
DBG("%c%d.%06d ", ((b == 0) && sign)?'-':' ', b, (int)(fabsf((a-(float)b)*1.0e6f)));
235+
#endif
234236
}
235237
DBG("\n");
236238
}

0 commit comments

Comments
 (0)