summaryrefslogtreecommitdiff
path: root/plugins/hddtemp/hddtemp-plugin.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-20 18:28:53 +0200
committerinfirit <[email protected]>2015-07-20 18:28:53 +0200
commit5cab0e83ac2f44fe78ba6ef1732a3286ec3f9476 (patch)
tree0ba5c3385e613576a2f880786cc12ea307735f47 /plugins/hddtemp/hddtemp-plugin.c
parent2f777ad3151c9f1ddcb3cdf1759158007cd2909e (diff)
downloadmate-sensors-applet-5cab0e83ac2f44fe78ba6ef1732a3286ec3f9476.tar.bz2
mate-sensors-applet-5cab0e83ac2f44fe78ba6ef1732a3286ec3f9476.tar.xz
hddtemp: Remove duplicate variable
It causes segfault and fixes #34
Diffstat (limited to 'plugins/hddtemp/hddtemp-plugin.c')
-rw-r--r--plugins/hddtemp/hddtemp-plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/hddtemp/hddtemp-plugin.c b/plugins/hddtemp/hddtemp-plugin.c
index f7d36f5..e045d2d 100644
--- a/plugins/hddtemp/hddtemp-plugin.c
+++ b/plugins/hddtemp/hddtemp-plugin.c
@@ -68,7 +68,6 @@ 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;