aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/blackbox/files/patch-lib::Image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/blackbox/files/patch-lib::Image.cc')
-rw-r--r--x11-wm/blackbox/files/patch-lib::Image.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/blackbox/files/patch-lib::Image.cc b/x11-wm/blackbox/files/patch-lib::Image.cc
new file mode 100644
index 000000000000..bd5cad66e49a
--- /dev/null
+++ b/x11-wm/blackbox/files/patch-lib::Image.cc
@@ -0,0 +1,11 @@
+--- lib/Image.cc.orig Thu Mar 10 18:39:23 2005
++++ lib/Image.cc Thu Mar 10 18:40:09 2005
+@@ -467,7 +467,7 @@
+ if (colors[x] != ~0ul)
+ continue;
+
+- int red, green, blue, gray;
++ int red = 0, green = 0, blue = 0, gray = 0;
+
+ switch (visual_class) {
+ case StaticGray: