[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 04/07: Removed more compilation warnings with unused variables

noreply at xfce.org noreply at xfce.org
Mon Oct 22 23:22:38 CEST 2018


This is an automated email from the git hooks/post-receive script.

t   i   m   y   s   t   e   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-sensors-plugin.

commit 8a0a7422acc46b382d5b5a523cfd7e1712fdd23c
Author: Fabian <timystery at arcor.de>
Date:   Mon Oct 22 23:19:46 2018 +0200

    Removed more compilation warnings with unused variables
---
 lib/configuration.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/configuration.c b/lib/configuration.c
index ccdeccf..b7667d3 100644
--- a/lib/configuration.c
+++ b/lib/configuration.c
@@ -333,7 +333,7 @@ sensors_read_config (XfcePanelPlugin *ptr_panelplugin, t_sensors *ptr_sensors)
     gint idx_chip, idx_feature, idx_chiptmp;
     gchar str_rcchip[8], str_feature[20];
     gchar* str_sensorname=NULL;
-    gint num_sensorchip, id, address;
+    gint num_sensorchip;
     t_chip *ptr_chip;
     t_chipfeature *ptr_chipfeature;
 
@@ -396,8 +396,6 @@ sensors_read_config (XfcePanelPlugin *ptr_panelplugin, t_sensors *ptr_sensors)
                     if (xfce_rc_has_group (ptr_xfceresource, str_feature)) {
                         xfce_rc_set_group (ptr_xfceresource, str_feature);
 
-                        address=0;
-
                         if ((str_value = xfce_rc_read_entry (ptr_xfceresource, "DeviceName", NULL))
                             && *str_value) {
                             if (ptr_chipfeature->devicename)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list