[nautilus/wip/gaction_] view: fix possibly uninitialized variable



commit 458f7fc90282d74e0b59ff21c24e542f55ad0624
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 21 06:06:01 2015 -0800

    view: fix possibly uninitialized variable

 src/nautilus-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 3d5fadb..6bfd9a5 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -6198,6 +6198,7 @@ update_selection_menu (NautilusView *view)
        show_start = (selection != NULL && selection_count == 1);
        show_stop = (selection != NULL && selection_count == 1);
        show_detect_media = (selection != NULL && selection_count == 1);
+       start_stop_type = G_DRIVE_START_STOP_TYPE_UNKNOWN;
 
        item_label = g_strdup_printf (_("New Folder with Selection (%'d Items)"),
                                      selection_count);


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