plug-ins: silence some warnings in twain plug-in.

This commit is contained in:
Jacob Boerema 2020-09-18 17:49:07 -04:00
parent d0b1c143b6
commit 9e3508cc23
1 changed files with 5 additions and 1 deletions

View File

@ -696,7 +696,7 @@ cancelPendingTransfers(pTW_SESSION twSession)
static int
endImageTransfer(pTW_SESSION twSession, int *pendingCount)
{
gboolean continueTransfers;
gboolean continueTransfers = FALSE;
int exitCode = twSession->twRC;
/* Have now exited the transfer for some reason... Figure out
@ -713,6 +713,10 @@ endImageTransfer(pTW_SESSION twSession, int *pendingCount)
LogMessage("Failure received\n");
*pendingCount = endPendingTransfer(twSession);
break;
default:
*pendingCount = 0;
break;
}
/* Call the end transfer callback */