[Spice-devel] [[spice] 5/9] Fix -Wswitch

Fabiano Fidêncio fidencio at redhat.com
Mon Sep 1 06:45:38 PDT 2014


---
 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 bdac680..b197d1b 100644
--- a/server/tests/test_display_base.c
+++ b/server/tests/test_display_base.c
@@ -551,6 +551,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;
-- 
1.9.3



More information about the Spice-devel mailing list