kopia lustrzana https://gitlab.com/sane-project/backends
sm3600: fix [-Wunused-but-set-variable] compiler warning
rodzic
82720a2023
commit
9d4f2a7209
|
@ -458,7 +458,6 @@ sane_open (SANE_String_Const devicename, SANE_Handle *handle)
|
|||
{
|
||||
TDevice *pdev;
|
||||
TInstance *this;
|
||||
SANE_Status rc;
|
||||
DBG(DEBUG_VERBOSE,"opening %s\n",devicename);
|
||||
if (devicename[0]) /* selected */
|
||||
{
|
||||
|
@ -488,8 +487,6 @@ DBG(DEBUG_VERBOSE,"%s<>%s\n",devicename, pdev->sane.name);
|
|||
if (sanei_usb_open (devicename, &this->hScanner) != SANE_STATUS_GOOD)
|
||||
return SetError (this, SANE_STATUS_IO_ERROR, "cannot open scanner device");
|
||||
|
||||
rc = SANE_STATUS_GOOD;
|
||||
|
||||
this->quality=fast;
|
||||
return InitOptions(this);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue