summaryrefslogtreecommitdiff
path: root/packaging/fix-uninitialized-variables.diff
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/fix-uninitialized-variables.diff')
-rw-r--r--packaging/fix-uninitialized-variables.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/fix-uninitialized-variables.diff b/packaging/fix-uninitialized-variables.diff
new file mode 100644
index 0000000..c84eee3
--- /dev/null
+++ b/packaging/fix-uninitialized-variables.diff
@@ -0,0 +1,11 @@
+--- 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