1
0
forked from pool/sane-backends
sane-backends/fix-uninitialized-variables.patch

12 lines
294 B
Diff

--- backend/teco2.c.orig 2005-09-20 10:11:59.000000000 +0200
+++ backend/teco2.c 2006-09-18 14:35:06.000000000 +0200
@@ -1524,7 +1524,7 @@ teco_request_sense (Teco_Scanner * dev)
{
CDB cdb;
SANE_Status status;
- size_t size;
+ size_t size = 0;
MKSCSI_REQUEST_SENSE (cdb, size);