LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fix-uninitialized-variables.diff of Package hplip (Project openSUSE:Evergreen:11.1:Test)

--- 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