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@winehq.org ReportedBy: dank@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.