You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 58ee583
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: test/cfg/std.c
-20Lines changed: 0 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -174,26 +174,6 @@ void nullPointer_qsort(void *base, size_t n, size_t size, int (*cmp)(const void
174
174
qsort(base, n, size, qsort_cmpfunc);
175
175
}
176
176
177
-
// As with all bounds-checked functions, localtime_s is only guaranteed to be available if __STDC_LIB_EXT1__ is defined by the implementation and if the user defines __STDC_WANT_LIB_EXT1__ to the integer constant 1 before including time.h.
178
-
#ifdef__STDC_LIB_EXT1__
179
-
voiduninitvar_localtime_s(consttime_t*restrict time, structtm*restrict result)
180
-
{
181
-
consttime_t*restrict Time;
182
-
// cppcheck-suppress uninitvar
183
-
(void)localtime_s(Time, result);
184
-
(void)localtime_s(time, result);
185
-
}
186
-
187
-
voidnullPointer_localtime_s(consttime_t*restrict time, structtm*restrict result)
// As with all bounds-checked functions, localtime_s is only guaranteed to be available if __STDC_LIB_EXT1__ is defined by the implementation and if the user defines __STDC_WANT_LIB_EXT1__ to the integer constant 1 before including time.h.
693
-
#ifdef __STDC_LIB_EXT1__
694
-
voiduninitvar_localtime_s(const std::time_t *restrict time, structtm *restrict result)
0 commit comments