[gvfs] Avoid an uninitialized variable warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] Avoid an uninitialized variable warning
- Date: Tue, 10 Jul 2012 01:43:40 +0000 (UTC)
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]