summaryrefslogtreecommitdiff
path: root/community/xsensors/remove-unused-variables.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/xsensors/remove-unused-variables.patch
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/xsensors/remove-unused-variables.patch')
-rw-r--r--community/xsensors/remove-unused-variables.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/community/xsensors/remove-unused-variables.patch b/community/xsensors/remove-unused-variables.patch
deleted file mode 100644
index 7da97a0e5..000000000
--- a/community/xsensors/remove-unused-variables.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Author: Nanley Chery <nanleychery@gmail.com>
-From: Jean Delvare <khali@linux-fr.org>
-Subject: Remove declared, but unused variables
-Bug-Debian: http://bugs.debian.org/625435
----
---- a/src/gui.c
-+++ b/src/gui.c
-@@ -257,10 +257,9 @@
-
- /* Start the sensor info update timer. */
- gint start_timer( GtkWidget *widget, gpointer data ) {
-- gint timer;
-
- /* Setup timer for updates. */
-- timer = g_timeout_add( update_time * 1000,
-+ g_timeout_add( update_time * 1000,
- (GtkFunction) update_sensor_data,
- (gpointer) data );
-
-@@ -287,7 +286,7 @@
-
- /* feature data */
- updates *head = NULL;
-- updates *current = NULL, *prev = NULL;
-+ updates *current = NULL;
-
- const sensors_feature *feature;
-
-@@ -347,10 +346,8 @@
- new_node->pbar = featpbar;
-
- if ( head == NULL ) {
-- prev = head;
- head = current = new_node;
- } else {
-- prev = current;
- current = current->next = new_node;
- }
-