[eog] Silent a unused-variable warning



commit ecd5bf02d8f227f3b1a38f42c164ccb3a970a583
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Jun 8 22:32:04 2011 +0300

    Silent a unused-variable warning

 src/eog-image.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-image.c b/src/eog-image.c
index f6d21d9..0e06112 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -1987,14 +1987,14 @@ eog_image_get_exif_info (EogImage *img)
 gpointer
 eog_image_get_xmp_info (EogImage *img)
 {
-	EogImagePrivate *priv;
  	gpointer data = NULL;
 
  	g_return_val_if_fail (EOG_IS_IMAGE (img), NULL);
 
+#ifdef HAVE_EXEMPI
+	EogImagePrivate *priv;
  	priv = img->priv;
 
-#ifdef HAVE_EXEMPI
  	g_mutex_lock (priv->status_mutex);
  	data = (gpointer) xmp_copy (priv->xmp);
  	g_mutex_unlock (priv->status_mutex);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]