[devhelp] main: no need to explicitly clear static variables



commit be57679ec80d49385057cb95fd139862a9e366d2
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]