Fix warning in test on Cygwin
This commit is contained in:
parent
bd21d7fff6
commit
1c38b3aae7
|
@ -217,10 +217,12 @@ void uninitvar(int fd)
|
|||
// cppcheck-suppress uninitvar
|
||||
regcomp(®, pattern, cflags);
|
||||
regerror(0, ®, 0, 0);
|
||||
#ifndef __CYGWIN__
|
||||
// cppcheck-suppress uninitvar
|
||||
// cppcheck-suppress unreadVariable
|
||||
// cppcheck-suppress ecvtCalled
|
||||
char *buffer = ecvt(d, 11, &decimal, &sign);
|
||||
#endif
|
||||
// cppcheck-suppress gcvtCalled
|
||||
gcvt(3.141, 2, buf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue