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>2014-02-15 11:21:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-15 11:21:07 +0400
commit004decc1d940a7d744ffcc63f4e53dd727dfea34 (patch)
treefe224d1baa1dfa71063778ee291cdd4265401068 /intern/ghost
parent56f6bc06d3c322d2f51a88b96c7367bc5dfeaf37 (diff)
Code cleanup: warnings
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_NDOFManager.cpp2
-rw-r--r--intern/ghost/intern/GHOST_NDOFManagerCocoa.mm2
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;