[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 06/11: removed old outcommented code

noreply at xfce.org noreply at xfce.org
Tue Mar 7 23:38:30 CET 2017


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

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.

commit 863d87fcc1f609ee866e6dc7430142c4a02a85ab
Author: Fabian <timystery at arcor.de>
Date:   Mon Mar 6 23:51:11 2017 +0100

    removed old outcommented code
---
 lib/sensors-interface-common.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/sensors-interface-common.c b/lib/sensors-interface-common.c
index 9b8e987..fe7bf68 100644
--- a/lib/sensors-interface-common.c
+++ b/lib/sensors-interface-common.c
@@ -79,10 +79,8 @@ sensors_new (XfcePanelPlugin *plugin, gchar *plugin_config_file)
         chip->description = g_strdup(_("No sensors found!"));
         chip->num_features = 1;
         chipfeature->color = g_strdup("#000000");
-        /* g_free (chipfeature->name); */
         chipfeature->name = g_strdup("No sensor");
         chipfeature->valid = TRUE;
-        /* g_free (chipfeature->formatted_value); */
         chipfeature->formatted_value = g_strdup("0.0");
         chipfeature->raw_value = 0.0;
         chipfeature->min_value = 0;
@@ -122,7 +120,6 @@ sensors_init_default_values  (t_sensors *sensors, XfcePanelPlugin *plugin)
 
     sensors->plugin = plugin; // we prefer storing NULL in here in case it is NULL.
 
-
     /* double-click improvement */
     sensors->exec_command = TRUE;
     sensors->command_name = g_strdup("xfce4-sensors");

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


More information about the Xfce4-commits mailing list