https://git.reactos.org/?p=reactos.git;a=commitdiff;h=44023cb7d77ed4d7732bec...
commit 44023cb7d77ed4d7732bece807f255910c8c2c2d Author: Serge Gautherie reactos-git_serge_171003@gautherie.fr AuthorDate: Sat Feb 10 06:39:28 2018 +0100 Commit: Thomas Faber thomas.faber@reactos.org CommitDate: Sat Feb 10 18:13:12 2018 +0100
[CRT:STARTUP] Fix a Clang-Cl warning about GS_ExceptionPointers
"warning: unused variable 'GS_ExceptionPointers' [-Wunused-const-variable]" Missed in CORE-8626 r64704.
CORE-14306 --- sdk/lib/crt/startup/gs_support.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sdk/lib/crt/startup/gs_support.c b/sdk/lib/crt/startup/gs_support.c index efdfad4608..1a6d70d38c 100644 --- a/sdk/lib/crt/startup/gs_support.c +++ b/sdk/lib/crt/startup/gs_support.c @@ -37,12 +37,14 @@ typedef union FILETIME ft_struct; } FT;
+#ifndef _MSC_VER static EXCEPTION_RECORD GS_ExceptionRecord; static CONTEXT GS_ContextRecord;
static const EXCEPTION_POINTERS GS_ExceptionPointers = { &GS_ExceptionRecord,&GS_ContextRecord }; +#endif
DECLSPEC_SELECTANY UINT_PTR __security_cookie = DEFAULT_SECURITY_COOKIE; DECLSPEC_SELECTANY UINT_PTR __security_cookie_complement = ~(DEFAULT_SECURITY_COOKIE);