1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Fix warning with no curses built in.

This commit is contained in:
Con Kolivas 2013-04-07 01:46:16 +11:00
parent 23c02415ac
commit d86f7b7741

View File

@ -2299,12 +2299,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)
{