kopia lustrzana https://gitlab.com/sane-project/backends
kodak: fix [-Wunused-but-set-variable] compiler warning
rodzic
2724f85552
commit
610dc9ceb4
|
@ -2749,7 +2749,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
SANE_Status ret = SANE_STATUS_GOOD;
|
SANE_Status ret = SANE_STATUS_GOOD;
|
||||||
size_t actLen = 0;
|
|
||||||
|
|
||||||
/*shut up compiler*/
|
/*shut up compiler*/
|
||||||
runRS=runRS;
|
runRS=runRS;
|
||||||
|
@ -2766,7 +2765,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
|
||||||
}
|
}
|
||||||
if (inBuff && inLen){
|
if (inBuff && inLen){
|
||||||
DBG(25, "in: reading %d bytes\n", (int)*inLen);
|
DBG(25, "in: reading %d bytes\n", (int)*inLen);
|
||||||
actLen = *inLen;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = sanei_scsi_cmd2(s->fd, cmdBuff, cmdLen, outBuff, outLen, inBuff, inLen);
|
ret = sanei_scsi_cmd2(s->fd, cmdBuff, cmdLen, outBuff, outLen, inBuff, inLen);
|
||||||
|
|
Ładowanie…
Reference in New Issue