FIXED: Remove compiler warning. printf formats. Unused variables.
Exit if we reach an un-handled situation.
This then forces the developer to write a test script and fix the problem.