[gdm] manager: initialize delay variable



commit f37535a8a160c409b33ac12f2d5842e1cfd68f35
Author: Ray Strode <rstrode redhat com>
Date:   Tue Sep 2 15:39:51 2014 -0400

    manager: initialize delay variable
    
    I mismerged the patch for commit
    a0e7097abee606d82315137a0a5fa143fb175d3c

 daemon/gdm-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 16eeaf6..8c41045 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1808,9 +1808,9 @@ start_autologin_conversation_if_necessary (GdmManager *manager,
                                            GdmSession *session)
 {
         gboolean enabled;
-        int delay;
+        int delay = 0;
 
-        gdm_display_get_timed_login_details (display, &enabled, NULL, NULL, NULL);
+        gdm_display_get_timed_login_details (display, &enabled, NULL, &delay, NULL);
 
         if (delay == 0 && g_file_test (GDM_RAN_ONCE_MARKER_FILE, G_FILE_TEST_EXISTS)) {
                 return;


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