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 628839 - [PATCH] datetime: Rename shadowing variables
[PATCH] datetime: Rename shadowing variables
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-09-05 20:56 UTC by Damien Lespiau
Modified: 2010-09-06 10:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rename timezone and tzname not to shadow time.h variables (6.16 KB, patch)
2010-09-05 20:56 UTC, Damien Lespiau
committed Details | Review

Description Damien Lespiau 2010-09-05 20:56:18 UTC
Created attachment 169525 [details] [review]
Rename timezone and tzname not to shadow time.h variables

I've imported GDateTime in my project as I can't depend on glib 2.25.x/2.26 just yet and I have the shadowing warning enabled. 

timezone and tzname shadow variables declared in time.h. Let's rename
them to time_zone and tz_name then.
Comment 1 Matthias Clasen 2010-09-06 01:48:50 UTC
Review of attachment 169525 [details] [review]:

Thanks, please commit.
Comment 2 Emmanuele Bassi (:ebassi) 2010-09-06 10:58:24 UTC
Pushed to master.