From c0270fc9658eb61c73cb3f9e5edbd2e56fef7e9e Mon Sep 17 00:00:00 2001 From: Kung-vr Date: Sun, 3 Mar 2019 02:27:36 +0900 Subject: [PATCH] temp change to avoid compiler warnings --- .../MoveCenterTabController.cpp | 49 +++++++++++++------ 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/src/tabcontrollers/MoveCenterTabController.cpp b/src/tabcontrollers/MoveCenterTabController.cpp index 921318b..0663c5f 100644 --- a/src/tabcontrollers/MoveCenterTabController.cpp +++ b/src/tabcontrollers/MoveCenterTabController.cpp @@ -963,51 +963,72 @@ void MoveCenterTabController::optionalOverrideRightHandSpaceTurn( void MoveCenterTabController::swapSpaceDragToLeftHandOverride( bool swapDragToLeftHand ) { - // temp set to false - swapDragToLeftHand = false; + // temp stuff for compliner warnings + if ( !swapDragToLeftHand ) + { + return; + } // TODO STUFF } void MoveCenterTabController::swapSpaceDragToRightHandOverride( bool swapDragToRightHand ) { - // temp set to false - swapDragToRightHand = false; + // temp stuff for compliner warnings + if ( !swapDragToRightHand ) + { + return; + } // TODO STUFF } void MoveCenterTabController::gravityToggle( bool gravityToggleJustPressed ) { - // temp set to false - gravityToggleJustPressed = false; + // temp stuff for compliner warnings + if ( !gravityToggleJustPressed ) + { + return; + } // TODO STUFF } void MoveCenterTabController::heightToggle( bool heightToggleJustPressed ) { - // temp set to false - heightToggleJustPressed = false; + // temp stuff for compliner warnings + if ( !heightToggleJustPressed ) + { + return; + } // TODO STUFF } void MoveCenterTabController::resetOffsets( bool resetOffsetsJustPressed ) { - // temp set to false - resetOffsetsJustPressed = false; + // temp stuff for compliner warnings + if ( !resetOffsetsJustPressed ) + { + return; + } // TODO STUFF } void MoveCenterTabController::snapTurnLeft( bool snapTurnLeftJustPressed ) { - // temp set to false - snapTurnLeftJustPressed = false; + // temp stuff for compliner warnings + if ( !snapTurnLeftJustPressed ) + { + return; + } // TODO STUFF } void MoveCenterTabController::snapTurnRight( bool snapTurnRightJustPressed ) { - // temp set to false - snapTurnRightJustPressed = false; + // temp stuff for compliner warnings + if ( !snapTurnRightJustPressed ) + { + return; + } // TODO STUFF }