Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-02-18 02:44:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-02-18 02:44:28 +0300
commit5eecfbd980eb6d48e78e44854efeb98114cf4434 (patch)
treeb55cc455854178f0aa69bbdc5dfc7275ef674258 /intern/ghost
parent1fa98b374f620b3357fb26bf959c38cff9f8cc7e (diff)
Quiet uninitialized mem use for blank cursor
harmless but may as well initialize.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp
index 4e619264401..bd64cd2eb11 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 */