[gnome-bluetooth] wizard: Fix compile-time warning



commit 8b0e0ee51d8a66f6702097329714e62180e19b86
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 12 02:13:20 2012 +0200

    wizard: Fix compile-time warning
    
    main.c:537:11: warning: âhelpâ may be used uninitialized in this function [-Wmaybe-uninitialized]

 wizard/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index b54c915..2d64bfb 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -526,6 +526,8 @@ void prepare_callback (GtkWidget *assistant,
 				help = g_strdup (_("Please move the joystick of your iCade in the following directions:"));
 				pincode = get_icade_pincode (&pincode_display);
 				break;
+			default:
+				g_assert_not_reached ();
 			}
 
 			if (pincode == NULL)



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