Fixes coverity 372096

master
Alejandro Leal Conejos 3 years ago committed by Ismael Gomez
parent 547ebf11f7
commit 2a2518b7e4

@ -70,10 +70,9 @@ const std::string mm5g_state_t::get_full_state_text()
} else if (state == state_t::registered) { } else if (state == state_t::registered) {
return mm5g_state_text(state) + std::string(", with substate ") + return mm5g_state_text(state) + std::string(", with substate ") +
mm5g_registered_substate_text(registered_substate); mm5g_registered_substate_text(registered_substate);
} else {
return mm5g_state_text(state);
} }
return std::string("Invalid State");
return mm5g_state_text(state);
} }
/* /*

Loading…
Cancel
Save