default: return 0 never gets executed
Revert "default: return 0 never gets executed"

This reverts commit 2d1acdb0af06f6106965d446b383e6cd4c42f6da.
default: return 0; never gets executed