[gtk-vnc] Add missing 'default' case to switch statement



commit 10e4ea18fe4952bcf0d05ef1dce5aed1e0de9a6c
Author: Daniel P. Berrange <berrange redhat com>
Date:   Thu Jan 31 11:34:44 2013 +0000

    Add missing 'default' case to switch statement
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 examples/gvncviewer.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/examples/gvncviewer.c b/examples/gvncviewer.c
index 598d926..ea1ba0d 100644
--- a/examples/gvncviewer.c
+++ b/examples/gvncviewer.c
@@ -317,9 +317,10 @@ static gboolean dialog_key_ignore(int keyval)
     case GDK_Return:
     case GDK_Escape:
         return TRUE;
-    }
 
-    return FALSE;
+    default:
+        return FALSE;
+    }
 }
 
 static gboolean dialog_key_press(GtkWidget *window G_GNUC_UNUSED,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]