dbghelp: Turn variable 'code' into a static constant.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-11-11 20:51:58 -07:00 committed by Alexandre Julliard
parent cbae62ba9e
commit f333c4a210
1 changed files with 1 additions and 1 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 */