mirror of https://github.com/GNOME/gimp.git
plug-ins: silence some warnings in twain plug-in.
This commit is contained in:
parent
d0b1c143b6
commit
9e3508cc23
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue