Commit 8d2936730b5620344cf46e4e7b09a1f91d76f5ab

Paul Sheppard 2012-05-22T15:35:10

Fix return values

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/driver-bitforce.c b/driver-bitforce.c
index e9745e6..52b2ffa 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -290,6 +290,7 @@ static uint64_t bitforce_get_temp(struct cgpu_info *bitforce)
 			}
 		}
 	}
+    return 1;
 }
 
 
@@ -329,6 +330,7 @@ static uint64_t bitforce_send_work(struct cgpu_info *bitforce, struct work *work
 		applog(LOG_ERR, "BitForce block data reports: %s", pdevbuf);
 		return 0;
 	}
+    return 1;
 }
 
 static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)