Compiler warning fixes

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-01-31 15:37:54 +01:00
parent 086fcdacbb
commit 65e62d0426
5 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -3037,8 +3037,8 @@ extern "C"
#endif
struct tm* gmtime_s(const time_t* time, struct tm* result);
]], [[
struct tm res;
time_t t;
static struct tm res;
static time_t t = 0;
gmtime_s (&t, &res);
]])
],
@@ -3058,8 +3058,8 @@ extern "C"
#endif
errno_t gmtime_s(struct tm* _tm, const time_t* time);
]], [[
struct tm res;
time_t t;
static struct tm res;
static time_t t = 0;
gmtime_s (&res, &t);
]])
],