[gnome-online-accounts] daemon: Style fixes



commit f96394133565c383261312ad0a9157f3ac85c40a
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jan 6 13:42:41 2017 +0100

    daemon: Style fixes
    
    Don't use a separate line to initialize variables.

 src/daemon/main.c |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/daemon/main.c b/src/daemon/main.c
index 94fce2b..d8f8e09 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -80,14 +80,9 @@ main (int    argc,
       char **argv)
 {
   GError *error;
-  GOptionContext *opt_context;
-  gint ret;
-  guint name_owner_id;
-
-  ret = 1;
-  loop = NULL;
-  opt_context = NULL;
-  name_owner_id = 0;
+  GOptionContext *opt_context = NULL;
+  gint ret = 1;
+  guint name_owner_id = 0;
 
   setlocale (LC_ALL, "");
   bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);


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