[gvfs] Avoid an uninitialized variable warning



commit 4e8603a9b15ac9f6d1c833cb0db51753451e8f60
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 9 21:41:49 2012 -0400

    Avoid an uninitialized variable warning

 monitor/udisks2/gvfsudisks2volume.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index a8bf3c0..910e1da 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -1069,6 +1069,9 @@ unlock_cb (GObject       *source_object,
             case G_PASSWORD_SAVE_PERMANENTLY:
               keyring = GNOME_KEYRING_DEFAULT;
               break;
+            default:
+              keyring = GNOME_KEYRING_DEFAULT;
+              break;
             }
 
           display_name = g_strdup_printf (_("Encryption passphrase for %s"),



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