diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-18 02:44:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-18 02:44:28 +0300 |
commit | 5eecfbd980eb6d48e78e44854efeb98114cf4434 (patch) | |
tree | b55cc455854178f0aa69bbdc5dfc7275ef674258 /intern/ghost | |
parent | 1fa98b374f620b3357fb26bf959c38cff9f8cc7e (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.cpp | 2 |
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 */ |