mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
pool: don't pass unused argument to sprintf() in add_pool().
Silences gcc warning.
This commit is contained in:
parent
ac3d13880c
commit
10ec7769c8
@ -533,7 +533,7 @@ struct pool *add_pool(void)
|
||||
|
||||
/* Default pool name */
|
||||
char buf[32];
|
||||
sprintf(buf, "", pool->pool_no);
|
||||
sprintf(buf, "");
|
||||
pool->name = strdup(buf);
|
||||
|
||||
pools = (struct pool **)realloc(pools, sizeof(struct pool *) * (total_pools + 2));
|
||||
|
Loading…
x
Reference in New Issue
Block a user