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 318517 - Remove some unused bits here and there
Remove some unused bits here and there
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-10 22:06 UTC by Kjartan Maraas
Modified: 2006-01-04 09:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
proposed patch (9.50 KB, patch)
2005-10-10 22:07 UTC, Kjartan Maraas
none Details | Review

Description Kjartan Maraas 2005-10-10 22:06:40 UTC
This patch tries to remove some bits that the intel compiler complained about.
Warnings of this type:

tree.c(6261): warning #593: variable "prev" was set but never used
      xmlAttrPtr prop, prev = NULL;;
Comment 1 Kjartan Maraas 2005-10-10 22:07:31 UTC
Created attachment 53307 [details] [review]
proposed patch

Probably needs some discussion and modifications before applying.
Comment 2 kbuchcik 2005-10-14 14:36:24 UTC
I tried to fix the reported warning in xmlschemas.c revision 1.172.
However, I committed this with other changes, so you might get some new warnings ;-)
Comment 3 kbuchcik 2005-10-17 12:43:05 UTC
Silenced the relevant warnings in tree.c and pattern.c.
Only HTMLparser.c is missing now but I dare not to touch it; so this is
something for Daniel or Bill.
Comment 4 Daniel Veillard 2006-01-04 09:59:23 UTC
The changes to HTMLparser.c are already in effect, maybe you did it
or this was reported independantly, looks all fixed to me :-)

 thanks !

Daniel