[Bug 28689] New: gcc complains 'xsd_child' may be used uninitialized in function 'XDR_to_XSD_doc'

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 13 00:51:26 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28689

             Bug #: 28689
           Summary: gcc complains 'xsd_child' may be used uninitialized in
                    function 'XDR_to_XSD_doc'
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


When I crank up gcc's warning level a bit, build fails with

gcc -c -I. -I. -I../../include -I../../include -I/usr/include/libxml2  
-I/usr/include/libxml2   -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body
-Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op
-I/usr/include/freetype2  -g -O1 -Werror -Wno-unused-but-set-variable
-Wno-unused-but-set-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o xdr.o
xdr.c
...
xdr.c: In function 'XDR_to_XSD_doc':
xdr.c:516:36: error: 'xsd_child' may be used uninitialized in this function

The function's big and hairy, hard to tell what's up with that variable
offhand.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list