Suppress a warning

This commit is contained in:
vitaut 2015-11-20 07:49:29 -08:00
parent fd1753484e
commit b53994fd0d

View File

@ -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;
} }