summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorRoss Lagerwall <rosslagerwall@gmail.com>2013-11-18 08:29:18 +0200
committerRoss Lagerwall <rosslagerwall@gmail.com>2013-11-30 17:31:52 +0200
commit592cfc134ae83e18c5806617a18810cbecb95a20 (patch)
tree3c1ab1cc99f707dfa4efd4729af0daf95f185c9f /monitor
parent4be2b2ed73422e2a8ae2a84bc9df7115e01cc78b (diff)
downloadgvfs-592cfc134ae83e18c5806617a18810cbecb95a20.tar.gz
udisks2: Initialize variables to prevent them being used uninitialized
https://bugzilla.gnome.org/show_bug.cgi?id=712382
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2volume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index 0b7c5c4c..5e83c2c8 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -1547,8 +1547,8 @@ gvfs_udisks2_volume_mount (GVolume *_volume,
block);
if (udisks_drive != NULL)
{
- gchar *drive_name;
- gchar *drive_desc;
+ gchar *drive_name = NULL;
+ gchar *drive_desc = NULL;
#if UDISKS_CHECK_VERSION(2,0,90)
{