Browse Source

Fix warning with no curses built in.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
d86f7b7741
  1. 2
      cgminer.c

2
cgminer.c

@ -2299,12 +2299,14 @@ static void enable_pool(struct pool *pool) @@ -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)
{

Loading…
Cancel
Save