Added default case to switch to get rid of OSX compiler warning.

Title says it all ...