diff --git a/src/mbpfan.c b/src/mbpfan.c
index 2090dda..d31c3ad 100755
--- a/src/mbpfan.c
+++ b/src/mbpfan.c
@@ -241,7 +241,7 @@ t_fans *retrieve_fans()
int counter = 0;
int fans_found = 0;
- for(int counter = 0; counter<10; counter++) {
+ for(counter = 0; counter<10; counter++) {
path_output = (char*) malloc(sizeof( char ) * path_min_size);
path_output[0] = '\0';
Fix unused variable
f5f61ccf69dc6ce9d40347bd677f0ec544c124b1
otilmans@gmail.com <otilmans@gmail.com> · 2014-07-21T23:43 ·
browse files at this commit
parents:
fff4b50