hplip/fix-uninitialized-variables.diff

12 lines
383 B
Diff
Raw Normal View History

--- ip/xmatrix.c.orig 2004-02-18 23:43:44.000000000 +0100
+++ ip/xmatrix.c 2005-05-17 13:48:17.000000000 +0200
@@ -380,7 +380,7 @@
while (pwOut < (WORD*)pOutAfter)
{
- int prod0, prod1, prod2;
+ int prod0 = 0, prod1 = 0, prod2 = 0;
/* The fixed-point calculations below are as follows:
* 17.15 = input pixel