mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-21 04:52:11 +02:00
Merge branch 'gcc13-warning-fix' into 'main'
timezone: Fix a compiler warning See merge request GNOME/glib!3248
This commit is contained in:
commit
548d917f35
@ -709,7 +709,7 @@ init_zone_from_iana_info (GTimeZone *gtz,
|
|||||||
const struct tzhead *header = header_data;
|
const struct tzhead *header = header_data;
|
||||||
GTimeZone *footertz = NULL;
|
GTimeZone *footertz = NULL;
|
||||||
guint extra_time_count = 0, extra_type_count = 0;
|
guint extra_time_count = 0, extra_type_count = 0;
|
||||||
gint64 last_explicit_transition_time;
|
gint64 last_explicit_transition_time = 0;
|
||||||
|
|
||||||
g_return_if_fail (size >= sizeof (struct tzhead) &&
|
g_return_if_fail (size >= sizeof (struct tzhead) &&
|
||||||
memcmp (header, "TZif", 4) == 0);
|
memcmp (header, "TZif", 4) == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user