changeset 1016:9865e22d05f3

Fix two minor compilation warnings.
author zas_
date Sun, 31 Aug 2008 08:13:36 +0000
parents 2cdcf67e9300
children a8b874774b83
files src/exiv2.cc src/image-load.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/exiv2.cc	Sat Aug 30 20:15:47 2008 +0000
+++ b/src/exiv2.cc	Sun Aug 31 08:13:36 2008 +0000
@@ -674,7 +674,6 @@
 
 extern "C" guchar *exif_get_preview(ExifData *exif, guint *data_len)
 {
-	int success;
 	unsigned long offset;
 
 	if (!exif) return NULL;
--- a/src/image-load.c	Sat Aug 30 20:15:47 2008 +0000
+++ b/src/image-load.c	Sun Aug 31 08:13:36 2008 +0000
@@ -57,6 +57,7 @@
 			sizeof (ImageLoader),
 			0,      /* n_preallocs */
 			(GInstanceInitFunc)image_loader_init, /* instance_init */
+			NULL	/* value_table */
 			};
 		type = g_type_register_static (G_TYPE_OBJECT, "ImageLoaderType", &info, 0);
 		}