fix another unused warning
fix unhandled-case-in-switch warnings by adding MOZ_NOT_REACHED default cases