Commit: 5eecfbd980eb6d48e78e44854efeb98114cf4434
Author: Campbell Barton
Date: Wed Feb 18 10:44:28 2015 +1100
Branches: master
https://developer.blender.org/rB5eecfbd980eb6d48e78e44854efeb98114cf4434
Quiet uninitialized mem use for blank cursor
harmless but may as well initialize.
===================================================================
M intern/ghost/intern/GHOST_WindowX11.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp
b/intern/ghost/intern/GHOST_WindowX11.cpp
index 4e61926..bd64cd2 100644
--- a/intern/ghost/intern/GHOST_WindowX11.cpp
+++ b/intern/ghost/intern/GHOST_WindowX11.cpp
@@ -1375,7 +1375,7 @@ getEmptyCursor(
) {
if (!m_empty_cursor) {
Pixmap blank;
- XColor dummy;
+ XColor dummy = {0};
char data[1] = {0};
/* make a blank cursor */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs