shell: Add missing cases to switch statements for surface types
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 25 Nov 2013 18:01:31 +0000 (18:01 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 2 Dec 2013 19:44:49 +0000 (11:44 -0800)
commit0f640e219cbf5cc0ca8ff5b3fb51437ace6f5cb0
treecbc6fc5664e3e8f1b8bba550a334a65c760d3e11
parentbecb77e211519c8a323e4a938548bc6ac1f05641
shell: Add missing cases to switch statements for surface types

This fixes a load of GCC warnings when compiling with -Wswitch-enum
-Wswitch-default, and makes it clearer that those cases have been
thought about explicitly when writing the code, rather than just being
forgotten.
src/shell.c