From f333c4a210e25bbb8af2adeeae0dbe006354519b Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 11 Nov 2018 20:51:58 -0700 Subject: [PATCH] dbghelp: Turn variable 'code' into a static constant. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- dlls/dbghelp/minidump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/minidump.c b/dlls/dbghelp/minidump.c index 1a5dca9de67..975bb45c9a4 100644 --- a/dlls/dbghelp/minidump.c +++ b/dlls/dbghelp/minidump.c @@ -670,7 +670,7 @@ static unsigned dump_system_info(struct dump_context* dc) /* write Wine specific system information just behind the structure, and before any string */ if (wine_extra) { - char code[] = {'W','I','N','E'}; + static const char code[] = {'W','I','N','E'}; WriteFile(dc->hFile, code, 4, &written, NULL); /* number of sub-info, so that we can extend structure if needed */