[gnome-session] main: always initialize variable



commit 83e1594599650098b5cb3209e32d2ba46df0b0bb
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Apr 9 10:01:58 2016 -0700

    main: always initialize variable

 gnome-session/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/main.c b/gnome-session/main.c
index a98a8d0..3dd6529 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -54,7 +54,7 @@ static gboolean please_fail = FALSE;
 static gboolean disable_acceleration_check = FALSE;
 static const char *session_name = NULL;
 static GsmManager *manager = NULL;
-static char *gl_renderer;
+static char *gl_renderer = NULL;
 
 static GMainLoop *loop;
 


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