Commit b53994fd authored by vitaut's avatar vitaut

Suppress a warning

parent fd175348
...@@ -608,7 +608,8 @@ inline int getsign(double x) { ...@@ -608,7 +608,8 @@ inline int getsign(double x) {
_ecvt_s(buffer, sizeof(buffer), x, 0, &dec, &sign); _ecvt_s(buffer, sizeof(buffer), x, 0, &dec, &sign);
return sign; return sign;
} }
ecvt(x, 0, &dec, &sign); char *result = ecvt(x, 0, &dec, &sign);
(void)result; // Suppress warning about unused return value of ecvt.
return sign; return sign;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment