summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-06 06:53:02 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-06 06:53:02 (GMT)
commitb1ba2bcadc8eabc7a9e548ece860032d5458fd77 (patch)
tree50adeb83c7d8be76ce3ecbc12a6de1f330cbc5d2
parent723b756011282f288c7bfb9288d53133ec989c42 (diff)
Break outside of else
-rw-r--r--kstars/ekos/scheduler/scheduler.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/kstars/ekos/scheduler/scheduler.cpp b/kstars/ekos/scheduler/scheduler.cpp
index eaf0acc..94ec9e8 100644
--- a/kstars/ekos/scheduler/scheduler.cpp
+++ b/kstars/ekos/scheduler/scheduler.cpp
@@ -4158,8 +4158,8 @@ void Scheduler::checkMountParkingStatus()
break;
}
}
- else
- break;
+ break;
+
case Mount::PARKING_ERROR:
if (startupState == STARTUP_UNPARKING_MOUNT)
{
@@ -4290,8 +4290,7 @@ void Scheduler::checkDomeParkingStatus()
break;
}
}
- else
- break;
+ break;
case Dome::PARKING_ERROR:
if (shutdownState == SHUTDOWN_PARKING_DOME)
@@ -4411,8 +4410,7 @@ void Scheduler::checkCapParkingStatus()
break;
}
}
- else
- break;
+ break;
case DustCap::PARKING_ERROR:
if (shutdownState == SHUTDOWN_PARKING_CAP)