summaryrefslogtreecommitdiff
path: root/backend/hp-device.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /backend/hp-device.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/hp-device.c')
-rw-r--r--backend/hp-device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/backend/hp-device.c b/backend/hp-device.c
index 2b96ad6..6a50f84 100644
--- a/backend/hp-device.c
+++ b/backend/hp-device.c
@@ -249,7 +249,6 @@ sanei_hp_device_probe_model (enum hp_device_compat_e *compat, HpScsi scsi,
};
int i;
char buf[8];
- size_t len;
SANE_Status status;
static char *last_device = NULL;
static enum hp_device_compat_e last_compat;
@@ -279,7 +278,6 @@ sanei_hp_device_probe_model (enum hp_device_compat_e *compat, HpScsi scsi,
{
DBG(1,"probing %s\n",probes[i].model);
- len = sizeof(buf);
if (!FAILED( status = sanei_hp_scl_upload(scsi, probes[i].cmd,
buf, sizeof(buf)) ))
{