summaryrefslogtreecommitdiff
path: root/plugins/hddtemp/hddtemp-plugin.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-07 11:23:44 +0200
committerinfirit <[email protected]>2015-07-07 11:23:44 +0200
commit50be0d3c1a5d3110b9ec7493c43fe5eccc2a875e (patch)
treef45ac4361cb8deda82df76283fc04536c58fc4c4 /plugins/hddtemp/hddtemp-plugin.c
parentd8579bd621de7940780565343d4d8df7c50f9403 (diff)
downloadmate-sensors-applet-50be0d3c1a5d3110b9ec7493c43fe5eccc2a875e.tar.bz2
mate-sensors-applet-50be0d3c1a5d3110b9ec7493c43fe5eccc2a875e.tar.xz
Revert "Remove unused variable"
This reverts commit d8579bd621de7940780565343d4d8df7c50f9403.
Diffstat (limited to 'plugins/hddtemp/hddtemp-plugin.c')
-rw-r--r--plugins/hddtemp/hddtemp-plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/hddtemp/hddtemp-plugin.c b/plugins/hddtemp/hddtemp-plugin.c
index 2adf692..6822338 100644
--- a/plugins/hddtemp/hddtemp-plugin.c
+++ b/plugins/hddtemp/hddtemp-plugin.c
@@ -62,6 +62,7 @@ static const gchar *hddtemp_plugin_query_hddtemp_daemon(GError **error) {
gchar *pc;
struct sockaddr_in address;
+ static char* buffer = NULL;
static GTimeVal previous_query_time;
GTimeVal current_query_time;