[mutter] launcher: Fix a gcc warning



commit 23c00688b47f460c58c7a0f6307f2f3846cae4d8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Feb 26 00:13:16 2015 -0800

    launcher: Fix a gcc warning
    
    self could be returned uninitialized.

 src/backends/native/meta-launcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
index 47108ec..4983a82 100644
--- a/src/backends/native/meta-launcher.c
+++ b/src/backends/native/meta-launcher.c
@@ -307,7 +307,7 @@ get_kms_fd (Login1Session *session_proxy,
 MetaLauncher *
 meta_launcher_new (void)
 {
-  MetaLauncher *self;
+  MetaLauncher *self = NULL;
   Login1Session *session_proxy;
   GError *error = NULL;
   int kms_fd;


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