[nautilus] view: fix possibly uninitialized variable



commit 504e78b6e0f4af3aad26fa1af5faed149f8ef3d0
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]