summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-20 18:28:53 +0200
committerinfirit <[email protected]>2015-07-20 21:28:18 +0200
commite91a260a98dc777bb05bc550e7f14149e0b4737b (patch)
treeddfb88892f2c4bda3d85cefe418f92f870681653
parentb02dfe48ddaeffd63177fe2de01c14eb6efff83b (diff)
downloadmate-sensors-applet-e91a260a98dc777bb05bc550e7f14149e0b4737b.tar.bz2
mate-sensors-applet-e91a260a98dc777bb05bc550e7f14149e0b4737b.tar.xz
hddtemp: Remove duplicate variable
It causes segfault and fixes #34
-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 8fdd6a3..6213545 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;