mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 02:27:45 +00:00
Suppress a warning
This commit is contained in:
parent
fd1753484e
commit
b53994fd0d
3
format.h
3
format.h
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user