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:
parent
23c02415ac
commit
d86f7b7741
@ -2299,12 +2299,14 @@ static void enable_pool(struct pool *pool)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_CURSES
|
||||||
static void disable_pool(struct pool *pool)
|
static void disable_pool(struct pool *pool)
|
||||||
{
|
{
|
||||||
if (pool->enabled == POOL_ENABLED)
|
if (pool->enabled == POOL_ENABLED)
|
||||||
enabled_pools--;
|
enabled_pools--;
|
||||||
pool->enabled = POOL_DISABLED;
|
pool->enabled = POOL_DISABLED;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void reject_pool(struct pool *pool)
|
static void reject_pool(struct pool *pool)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user