diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-15 11:21:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-15 11:21:07 +0400 |
commit | 004decc1d940a7d744ffcc63f4e53dd727dfea34 (patch) | |
tree | fe224d1baa1dfa71063778ee291cdd4265401068 /intern | |
parent | 56f6bc06d3c322d2f51a88b96c7367bc5dfeaf37 (diff) |
Code cleanup: warnings
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManager.cpp | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_NDOFManagerCocoa.mm | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_NDOFManager.cpp b/intern/ghost/intern/GHOST_NDOFManager.cpp index f8c707b668c..52ee574c4b5 100644 --- a/intern/ghost/intern/GHOST_NDOFManager.cpp +++ b/intern/ghost/intern/GHOST_NDOFManager.cpp @@ -506,7 +506,5 @@ bool GHOST_NDOFManager::sendMotionEvent() m_system.pushEvent(event); - m_prevMotionTime = m_motionTime; - return true; } diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm index 4fc4f8016e5..0d620afd758 100644 --- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm +++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm @@ -162,7 +162,7 @@ GHOST_NDOFManagerCocoa::~GHOST_NDOFManagerCocoa() if (GHOST_NDOFManager3Dconnexion_available()) { GHOST_NDOFManager3Dconnexion_UnregisterConnexionClient(m_clientID); - GHOST_NDOFManager3Dconnexion_UnregisterConnexionClient(m_clientID); + GHOST_NDOFManager3Dconnexion_UnregisterConnexionClient(m_clientID); GHOST_NDOFManager3Dconnexion_CleanupConnexionHandlers(); ghost_system = NULL; |