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 515484 - Variable is initialized twice
Variable is initialized twice
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-02-09 21:25 UTC by Dominic Lachowicz
Modified: 2008-02-10 21:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (810 bytes, patch)
2008-02-09 21:26 UTC, Dominic Lachowicz
committed Details | Review

Description Dominic Lachowicz 2008-02-09 21:25:22 UTC
In pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage), the variable "bits" is initialized to the same value twice. Patch to follow.
Comment 1 Dominic Lachowicz 2008-02-09 21:26:03 UTC
Created attachment 104799 [details] [review]
Patch
Comment 2 Behdad Esfahbod 2008-02-10 21:43:32 UTC
2008-02-09  Dominic Lachowicz <domlachowicz@gmail.com>

        Bug 515484 – Variable is initialized twice

        * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): 
        Variable was initialized twice.