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

GCC 4.7 warns about maybe uninitialized variable _RetVal in widl-generated code with PSEH3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Build System
    • None

    Description

      Widl generates proxy functions such as IInternetSecurityManager_GetZoneMappings_Proxy found in the attached widl-retval.c.
      The _RetVal variable is unconditionally initialized in both try and except block, but GCC complains it "may be uninitialized":
      dll/win32/urlmon/urlmon_urlmon_p.c:7485:5: warning: '_RetVal' may be used uninitialized in this function [-Wmaybe-uninitialized]

      This makes for ~1400 warnings.

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              ThFabba ThFabba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: