[gucharmap] build: Fix warning about unused variable 'priv'



commit 35f6fa7df2e50dfb37f11d305e1d6aa6d23082ee
Author: Ingo Brückl <ib wupperonline de>
Date:   Wed Aug 26 19:57:06 2020 +0200

    build: Fix warning about unused variable 'priv'

 gucharmap/gucharmap-print-operation.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gucharmap/gucharmap-print-operation.c b/gucharmap/gucharmap-print-operation.c
index abbcc55f..ff8d4514 100644
--- a/gucharmap/gucharmap-print-operation.c
+++ b/gucharmap/gucharmap-print-operation.c
@@ -274,9 +274,7 @@ gucharmap_print_operation_custom_widget_apply (GtkPrintOperation *operation,
 static void
 gucharmap_print_operation_init (GucharmapPrintOperation *print_operation)
 {
-  GucharmapPrintOperationPrivate *priv;
-
-  priv = print_operation->priv = GUCHARMAP_PRINT_OPERATION_GET_PRIVATE (print_operation);
+  print_operation->priv = GUCHARMAP_PRINT_OPERATION_GET_PRIVATE (print_operation);
 }
 
 static GObject *


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