windows.cfg: Added a regression test for GetSystemInfo that ensure no uninitvar-FP is shown.

This commit is contained in:
orbitcowboy 2020-06-26 20:45:18 +02:00
parent 382b6964de
commit b33326bf51
1 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,15 @@
#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)
{
// No warning is expected