[gnome-applets/wip/muktupavels/werror] battstat: fix -Wunused-but-set-variable warning



commit 6e188cd400bad50fda390420a4e7ecad432c6ee6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 19:48:48 2020 +0300

    battstat: fix -Wunused-but-set-variable warning

 gnome-applets/battstat/battstat-applet.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/gnome-applets/battstat/battstat-applet.c b/gnome-applets/battstat/battstat-applet.c
index 74b72b284..c18ebb422 100644
--- a/gnome-applets/battstat/battstat-applet.c
+++ b/gnome-applets/battstat/battstat-applet.c
@@ -1169,10 +1169,6 @@ grid_layout_attach (GtkGrid        *grid,
                     LayoutLocation  loc,
                     GtkWidget      *child)
 {
-  GtkAttachOptions flags;
-
-  flags = GTK_FILL | GTK_EXPAND;
-
   gtk_widget_set_hexpand (child, TRUE);
   gtk_widget_set_vexpand (child, TRUE);
 


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