Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-5597

hhctrl: avoid compiler warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • Wine
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=6279)
      Patch help.c to avoid compiler warnings.

      This patch avoids the following compiler warnings:

      dll\win32\hhctrl.ocx\help.c: In function 'CreateViewer':
      dll\win32\hhctrl.ocx\help.c:1263: warning: 'x' may be used uninitialized in this function
      dll\win32\hhctrl.ocx\help.c:1263: note: 'x' was declared here
      dll\win32\hhctrl.ocx\help.c:1263: warning: 'y' may be used uninitialized in this function
      dll\win32\hhctrl.ocx\help.c:1263: note: 'y' was declared here

      By initializing the integer variable x and y correctly with zero's.

      The patch is tested localy by myself on VirtualBox 4.0.6.

      Have fun...

      Markus

      Attachments

        Activity

          People

            AmineKhaldi AmineKhaldi
            thechief thechief
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: