mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
tag: initialize datetime variable in xmp tag parsing code
Fixes (correct) compiler warning on the OSX build bot.
This commit is contained in:
parent
f842c49f5d
commit
db5d418282
1 changed files with 1 additions and 1 deletions
|
@ -877,7 +877,7 @@ read_one_tag (GstTagList * list, const gchar * tag, XmpTag * xmptag,
|
|||
}
|
||||
default:
|
||||
if (tag_type == GST_TYPE_DATE_TIME) {
|
||||
GstDateTime *datetime;
|
||||
GstDateTime *datetime = NULL;
|
||||
gint year = 0, month = 0, day = 0, hour = 0, minute = 0, second = 0;
|
||||
gint usecs = 0;
|
||||
gint gmt_offset_hour = -1, gmt_offset_min = -1, gmt_offset = -1;
|
||||
|
|
Loading…
Reference in a new issue