[WINESYNC] dbghelp: Turn variable 'code' into a static constant.

Signed-off-by: Alex Henrie <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id f333c4a210e25bbb8af2adeeae0dbe006354519b by Alex Henrie <[email protected]>
This commit is contained in:
winesync
2020-09-16 10:35:36 +02:00
committed by Jérôme Gardou
parent bba2a6162b
commit f243e09624
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -3,4 +3,4 @@ directories:
files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
tags:
wine: 86805c3d4b78e69e675e72f57a21254d3d580ddd
wine: f333c4a210e25bbb8af2adeeae0dbe006354519b