After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739720 - HTMLparser.c warning: missing initializer near initialization for ‘node_info.begin_pos
HTMLparser.c warning: missing initializer near initialization for ‘node_info....
Status: RESOLVED DUPLICATE of bug 739466
Product: libxml2
Classification: Platform
Component: htmlparser
git master
Other All
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-06 10:23 UTC by Rainer Canavan
Modified: 2017-06-17 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to initizlize all elements of node_info (302 bytes, patch)
2014-11-06 10:23 UTC, Rainer Canavan
none Details | Review

Description Rainer Canavan 2014-11-06 10:23:00 UTC
Created attachment 290085 [details] [review]
Patch to initizlize all elements of node_info

gcc (4.4.7 on CentOS 6.5) warns about an (incomplete) initializer in htmlParseElementInternal():

HTMLparser.c: In function ‘htmlParseElementInternal’:
HTMLparser.c:4641: warning: missing initializer
HTMLparser.c:4641: warning: (near initialization for ‘node_info.begin_pos’)

A trivial patch to prevent this warning is attached.
Comment 1 Nick Wellnhofer 2017-06-17 10:59:32 UTC

*** This bug has been marked as a duplicate of bug 739466 ***