Commit r57667124 removed certain unreachable statements as Keil/ARMCC complains about those. However, most other compilers (including GCC) complain if a function with a non-void return type have no return statement in them. Therefore, that commit was reverted (Revert commit is r509eba89) and pragams are added to the Keil compiler configuration instead.