remove c99-ism
authorDavid Schleef <ds@schleef.org>
Mon, 5 Jan 2004 00:58:39 +0000 (00:58 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 5 Jan 2004 00:58:39 +0000 (00:58 +0000)
Original commit message from CVS:
remove c99-ism

ext/mad/gstid3tag.c

index d8dc9cc..7f40c93 100644 (file)
@@ -478,8 +478,10 @@ gst_mad_id3_to_tag_list(const struct id3_tag *tag)
          tmp = strtoul (utf8, &check, 10);
          if (*check != '\0') break;
          if (strcmp (tag_name, GST_TAG_DATE) == 0) {
+           GDate *d;
+
            if (tmp == 0) break;
-           GDate *d = g_date_new_dmy (1, 1, tmp);
+           d = g_date_new_dmy (1, 1, tmp);
            tmp = g_date_get_julian (d);
            g_date_free (d);
          }