Gcc builds complained that not all switch cases are handled. Add empty
cases to appease gcc.
Please feel free to take this over and solve in any way you see fit. I
have just posted this review for expediency in case this is your
preferred approach.
Also, I am not sure whether this code has an upstream. Please advise if
so.