From: Tim W. <tw...@re...> - 2005-10-03 12:18:30
|
Hi, This patch avoids a compiler warning: --- hplip-0.9.5/scan/sane/pml.c.warnings 2005-10-03 13:12:06.000000000 +0100 +++ hplip-0.9.5/scan/sane/pml.c 2005-10-03 13:12:19.000000000 +0100 @@ -1058,6 +1058,7 @@ { /* No more scan data, flush ipconvert pipeline. */ input = 0; + inputAvail = 0; wResult = ipConvert(hpaio->hJob, inputAvail, input, &inputUsed, &inputNextPos, outputAvail, output, &outputUsed, &outputThisPos); if (wResult & (IP_INPUT_ERROR | IP_FATAL_ERROR)) { The warning is: scan/sane/pml.c:1061: warning: 'inputAvail' is used uninitialized in this function Tim. */ |