3b7ae335f3
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/hplip#7cb6f648cdb35a0f018b511d10b516d6d9e4d638
22 lines
601 B
Diff
22 lines
601 B
Diff
diff --git a/scan/scanext/scanext.c b/scan/scanext/scanext.c
|
|
index ff57987..f607220 100755
|
|
--- a/scan/scanext/scanext.c
|
|
+++ b/scan/scanext/scanext.c
|
|
@@ -407,16 +407,6 @@ static PyObject *setOption (_ScanDevice * self, PyObject * args)
|
|
int n;
|
|
multipick = 1;
|
|
|
|
-if(1)
|
|
-{
|
|
-SANE_Bool b = SANE_TRUE;
|
|
- sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
|
|
-}
|
|
-else
|
|
-{
|
|
-SANE_Bool b = SANE_FALSE;
|
|
- sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
|
|
-}
|
|
if (!PyArg_ParseTuple (args, "iO", &n, &value))
|
|
raiseError("Invalid arguments.");
|
|
|