[gexiv2] Remove an unused variable



commit 448798cdef1a750fe4701ea94e78af3f7e50a3ba
Author: Jens Georg <mail jensge org>
Date:   Sat Nov 14 15:28:38 2020 +0100

    Remove an unused variable

 gexiv2/gexiv2-metadata.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
index 84a2c22..4d394c0 100644
--- a/gexiv2/gexiv2-metadata.cpp
+++ b/gexiv2/gexiv2-metadata.cpp
@@ -261,9 +261,8 @@ static gboolean gexiv2_metadata_open_internal (GExiv2Metadata *self, GError **er
 static gboolean gexiv2_metadata_save_internal (GExiv2Metadata *self, image_ptr image, GError **error);
 
 static void gexiv2_metadata_init (GExiv2Metadata *self) {
-    GExiv2MetadataPrivate *priv;
-    self->priv = priv = (GExiv2MetadataPrivate *) gexiv2_metadata_get_instance_private(self);
-    
+    self->priv = (GExiv2MetadataPrivate*) gexiv2_metadata_get_instance_private(self);
+
     /* Initialize members */
     self->priv->comment = NULL;
     self->priv->mime_type = NULL;


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