Fix warning with no curses built in.
diff --git a/cgminer.c b/cgminer.c
index 0957003..cd8e6c1 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2320,12 +2320,14 @@ static void enable_pool(struct pool *pool)
}
}
+#ifdef HAVE_CURSES
static void disable_pool(struct pool *pool)
{
if (pool->enabled == POOL_ENABLED)
enabled_pools--;
pool->enabled = POOL_DISABLED;
}
+#endif
static void reject_pool(struct pool *pool)
{