kodak: fix [-Wunused-but-set-variable] compiler warning

merge-requests/1/head
Olaf Meeuwissen 2015-12-23 21:38:08 +09:00
rodzic 2724f85552
commit 610dc9ceb4
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -2749,7 +2749,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
)
{
SANE_Status ret = SANE_STATUS_GOOD;
size_t actLen = 0;
/*shut up compiler*/
runRS=runRS;
@ -2766,7 +2765,6 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
}
if (inBuff && inLen){
DBG(25, "in: reading %d bytes\n", (int)*inLen);
actLen = *inLen;
}
ret = sanei_scsi_cmd2(s->fd, cmdBuff, cmdLen, outBuff, outLen, inBuff, inLen);