From 7187bf54171f8f9b80acbb19ff2237e2ffaa997a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 1 Sep 2014 13:45:49 +0200 Subject: [PATCH] Fix -Wswitch (cherry picked from commit 4bf5fd35c4ece8a9100e5cec18b4b75fbaf82d35) --- server/tests/test_display_base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index 6765a07..1125b56 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -552,6 +552,8 @@ static void produce_command(Test *test) update = test_spice_create_update_solid(command->solid.surface_id, command->solid.bbox, command->solid.color); break; + default: /* Just to shut up GCC warning (-Wswitch) */ + break; } push_command(&update->ext); break;