Browse Source

Fix return values

Paul Sheppard 14 years ago
parent
commit
8d2936730b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      driver-bitforce.c

+ 2 - 0
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);
 		applog(LOG_ERR, "BitForce block data reports: %s", pdevbuf);
 		return 0;
 		return 0;
 	}
 	}
+    return 1;
 }
 }
 
 
 static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)
 static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)