From e91a260a98dc777bb05bc550e7f14149e0b4737b Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 20 Jul 2015 18:28:53 +0200 Subject: hddtemp: Remove duplicate variable It causes segfault and fixes #34 --- plugins/hddtemp/hddtemp-plugin.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.1