Commit d1a5ce53 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winhlp32: Remove unneeded shadow variables.

parent 7aa160a9
...@@ -1527,7 +1527,6 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, ...@@ -1527,7 +1527,6 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd,
case 0x88: case 0x88:
{ {
BYTE type = format[1]; BYTE type = format[1];
LONG size;
/* FIXME: we don't use 'BYTE pos = (*format - 0x86);' for the image position */ /* FIXME: we don't use 'BYTE pos = (*format - 0x86);' for the image position */
format += 2; format += 2;
...@@ -2078,9 +2077,9 @@ static BOOL HLPFILE_SystemCommands(HLPFILE* hlpfile) ...@@ -2078,9 +2077,9 @@ static BOOL HLPFILE_SystemCommands(HLPFILE* hlpfile)
if (hlpfile->windows) if (hlpfile->windows)
{ {
unsigned flags = GET_USHORT(ptr, 4);
HLPFILE_WINDOWINFO* wi = &hlpfile->windows[hlpfile->numWindows - 1]; HLPFILE_WINDOWINFO* wi = &hlpfile->windows[hlpfile->numWindows - 1];
flags = GET_USHORT(ptr, 4);
if (flags & 0x0001) strcpy(wi->type, &str[2]); if (flags & 0x0001) strcpy(wi->type, &str[2]);
else wi->type[0] = '\0'; else wi->type[0] = '\0';
if (flags & 0x0002) strcpy(wi->name, &str[12]); if (flags & 0x0002) strcpy(wi->name, &str[12]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment