Mercurial > geeqie.yaz
diff src/exif.c @ 1367:fe4da037be21
When g_new0() is used, drop redundant initializations to NULL, FALSE or 0, second pass.
| author | zas_ |
|---|---|
| date | Sun, 01 Mar 2009 23:14:19 +0000 |
| parents | 2abdd6e50120 |
| children | 91bed0d66cf2 |
line wrap: on
line diff
--- a/src/exif.c Sun Mar 01 21:35:18 2009 +0000 +++ b/src/exif.c Sun Mar 01 23:14:19 2009 +0000 @@ -511,8 +511,6 @@ item->tag = tag; item->marker = marker; item->elements = elements; - item->data = NULL; - item->data_len = 0; switch (format) { @@ -1228,8 +1226,6 @@ g_free(pathl); exif = g_new0(ExifData, 1); - exif->items = NULL; - exif->current = NULL; exif->path = g_strdup(path); res = exif_jpeg_parse(exif, (guchar *)f, size, ExifKnownMarkersList);
