mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 23:37:54 +00:00
Fix warning.
This commit is contained in:
parent
992a97a396
commit
b2a3941ef1
@ -237,7 +237,6 @@ static inline bool avalon_cts(char c)
|
|||||||
static int avalon_read(struct cgpu_info *avalon, unsigned char *buf,
|
static int avalon_read(struct cgpu_info *avalon, unsigned char *buf,
|
||||||
size_t bufsize, int timeout, int ep)
|
size_t bufsize, int timeout, int ep)
|
||||||
{
|
{
|
||||||
struct avalon_info *info = avalon->device_data;
|
|
||||||
size_t total = 0, readsize = bufsize + 2;
|
size_t total = 0, readsize = bufsize + 2;
|
||||||
char readbuf[AVALON_READBUF_SIZE];
|
char readbuf[AVALON_READBUF_SIZE];
|
||||||
int err, amount, ofs = 2, cp;
|
int err, amount, ofs = 2, cp;
|
||||||
|
Loading…
Reference in New Issue
Block a user