[devhelp/application-menu: 3/7] main: no need to explicitly clear static variables



commit abb1db0ac60786c2744928fa9c5a032f255b54f6
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 12 12:41:50 2012 +0200

    main: no need to explicitly clear static variables

 src/dh-main.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/dh-main.c b/src/dh-main.c
index 12138ec..f4b8da4 100644
--- a/src/dh-main.c
+++ b/src/dh-main.c
@@ -36,11 +36,11 @@
 #include "dh-window.h"
 #include "dh-assistant.h"
 
-static gchar    *option_search = NULL;
-static gchar    *option_search_assistant = NULL;
-static gboolean  option_quit = FALSE;
-static gboolean  option_focus_search = FALSE;
-static gboolean  option_version = FALSE;
+static gchar    *option_search;
+static gchar    *option_search_assistant;
+static gboolean  option_quit;
+static gboolean  option_focus_search;
+static gboolean  option_version;
 
 static GOptionEntry options[] = {
         { "search", 's',



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