mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 10:31:53 +00:00
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:
parent
cbae62ba9e
commit
f333c4a210
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue