From 661a448ad830b80bb13d02785ae1b8583f295016 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 24 Jun 2013 12:46:26 +1000 Subject: [PATCH] Fix build warning. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index 277f2666..1c349e01 100644 --- a/cgminer.c +++ b/cgminer.c @@ -568,10 +568,12 @@ static char *set_int_0_to_10(const char *arg, int *i) return set_int_range(arg, i, 0, 10); } +#ifdef USE_AVALON static char *set_int_0_to_100(const char *arg, int *i) { return set_int_range(arg, i, 0, 100); } +#endif static char *set_int_1_to_10(const char *arg, int *i) {