[Pkg-wmaker-commits] [wmgtemp] 08/10: wmgtemp: Remove unused variable 'chipname'
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Feb 2 14:18:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmgtemp.
commit 83ecb240a5d7e03249839f92d49a1cfa0ae4c757
Author: Doug Torrance <dtorrance at piedmont.edu>
Date: Wed Feb 1 21:52:02 2017 -0500
wmgtemp: Remove unused variable 'chipname'
---
src/wmgtemp.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/wmgtemp.c b/src/wmgtemp.c
index 6951f13..6965a08 100644
--- a/src/wmgtemp.c
+++ b/src/wmgtemp.c
@@ -117,7 +117,6 @@ char *sensor_chip = NULL;
short quiet = 0;
int main(int argc, char **argv) {
- char *chipname = NULL;
int chip_nr = 0;
int i = 0;
int tmp_swap;
@@ -162,10 +161,7 @@ int main(int argc, char **argv) {
}
}
- if(chip_found == 1) {
- chipname = name->prefix;
- }
- else {
+ if(chip_found == -1) {
name = sensors_get_detected_chips(NULL, &chip_nr);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmgtemp.git
More information about the Pkg-wmaker-commits
mailing list