Commit b1ba2bca authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Break outside of else

parent 723b7560
...@@ -4158,8 +4158,8 @@ void Scheduler::checkMountParkingStatus() ...@@ -4158,8 +4158,8 @@ void Scheduler::checkMountParkingStatus()
break; break;
} }
} }
else break;
break;
case Mount::PARKING_ERROR: case Mount::PARKING_ERROR:
if (startupState == STARTUP_UNPARKING_MOUNT) if (startupState == STARTUP_UNPARKING_MOUNT)
{ {
...@@ -4290,8 +4290,7 @@ void Scheduler::checkDomeParkingStatus() ...@@ -4290,8 +4290,7 @@ void Scheduler::checkDomeParkingStatus()
break; break;
} }
} }
else break;
break;
case Dome::PARKING_ERROR: case Dome::PARKING_ERROR:
if (shutdownState == SHUTDOWN_PARKING_DOME) if (shutdownState == SHUTDOWN_PARKING_DOME)
...@@ -4411,8 +4410,7 @@ void Scheduler::checkCapParkingStatus() ...@@ -4411,8 +4410,7 @@ void Scheduler::checkCapParkingStatus()
break; break;
} }
} }
else break;
break;
case DustCap::PARKING_ERROR: case DustCap::PARKING_ERROR:
if (shutdownState == SHUTDOWN_PARKING_CAP) if (shutdownState == SHUTDOWN_PARKING_CAP)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment