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

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id f333c4a210e25bbb8af2adeeae0dbe006354519b by Alex Henrie <alexhenrie24@gmail.com>
This commit is contained in:
winesync 2020-09-11 14:34:32 +02:00 committed by Jérôme Gardou
parent bba2a6162b
commit f243e09624
2 changed files with 2 additions and 2 deletions

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 */

View file

@ -3,4 +3,4 @@ directories:
files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
tags:
wine: 86805c3d4b78e69e675e72f57a21254d3d580ddd
wine: f333c4a210e25bbb8af2adeeae0dbe006354519b