A switch statement where every case returns triggers a gcc warning if the surrounding function doesn't return/abort. Fix by adding an abort(). The abort() will never trigger since we have a warning on unhandled switch cases.
A switch statement where every case returns triggers a gcc warning if the surrounding function doesn't return/abort. Fix by adding an abort(). The abort() will never trigger since we have a warning on unhandled switch cases.