From 5cab0e83ac2f44fe78ba6ef1732a3286ec3f9476 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(-) (limited to 'plugins') 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; -- cgit v1.2.1