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
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-28 20:27:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-13 18:47:11 +0400
commitb72eca435ebdbd10359b7c0fc67cb9eddc1b2dcf (patch)
treefbc772ac8e5c606cc590e508db4c7b85d7b23f8a /intern
parenta85b85101b67814209ae7d06d3b31803e3113258 (diff)
Code cleanup: remove NULL check
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemWin32.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp
index b58dccf9fd3..3556ee4349c 100644
--- a/intern/ghost/intern/GHOST_SystemWin32.cpp
+++ b/intern/ghost/intern/GHOST_SystemWin32.cpp
@@ -425,15 +425,8 @@ GHOST_TSuccess GHOST_SystemWin32::exit()
GHOST_TKey GHOST_SystemWin32::hardKey(GHOST_IWindow *window, RAWINPUT const& raw, int *keyDown, char *vk)
{
- GHOST_TKey key = GHOST_kKeyUnknown;
-
-
- if (!keyDown)
- return GHOST_kKeyUnknown;
-
-
GHOST_SystemWin32 *system = (GHOST_SystemWin32 *)getSystem();
-
+ GHOST_TKey key = GHOST_kKeyUnknown;
GHOST_ModifierKeys modifiers;
system->retrieveModifierKeys(modifiers);