[gnome-disk-utility/new-ui] Initialize drive_parent to NULL
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/new-ui] Initialize drive_parent to NULL
- Date: Tue, 1 Dec 2009 05:43:41 +0000 (UTC)
commit 8c08289e37a5d1d260d0ae8a2a4539d7ddc06ce7
Author: David Zeuthen <davidz redhat com>
Date: Tue Dec 1 00:43:01 2009 -0500
Initialize drive_parent to NULL
src/gdu/gdu-pool.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gdu/gdu-pool.c b/src/gdu/gdu-pool.c
index 307034a..d3677de 100644
--- a/src/gdu/gdu-pool.c
+++ b/src/gdu/gdu-pool.c
@@ -963,6 +963,8 @@ recompute_presentables (GduPool *pool)
GduPresentable *drive_parent;
gchar **port_object_paths;
+ drive_parent = NULL;
+
/* we are guaranteed that upstream ports all stem from the same expander or
* host adapter - so just pick the first one */
port_object_paths = gdu_device_drive_get_ports (device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]