windows.cfg: Added a regression test for GetSystemInfo that ensure no uninitvar-FP is shown.
This commit is contained in:
parent
382b6964de
commit
b33326bf51
|
@ -13,6 +13,15 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
|
||||||
|
SYSTEM_INFO uninitvar_GetSystemInfo(char * envstr)
|
||||||
|
{
|
||||||
|
// No warning is expected
|
||||||
|
SYSTEM_INFO SystemInfo;
|
||||||
|
GetSystemInfo(&SystemInfo);
|
||||||
|
return SystemInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void uninitvar__putenv(char * envstr)
|
void uninitvar__putenv(char * envstr)
|
||||||
{
|
{
|
||||||
// No warning is expected
|
// No warning is expected
|
||||||
|
|
Loading…
Reference in New Issue