summaryrefslogtreecommitdiff
path: root/backend/hp-device.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:29:05 +0200
commit324a8a71bb7d9e4f8bc49b6bc47efaf9fb58282e (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/hp-device.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
parent1edb02101a9306fc711cd422ed507d18165b1691 (diff)
Merge branch 'release/experimental/1.0.27-1_experimental1'experimental/1.0.27-1_experimental1
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)) ))
{