From: Daniel Wagner <[email protected]>

---
 tools/dhcp-test.c   | 2 +-
 tools/resolv-test.c | 4 ++--
 tools/supplicant.c  | 4 ++--
 tools/web-test.c    | 4 ++--
 tools/wispr.c       | 4 ++--
 tools/wpad-test.c   | 6 +++---
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c
index 284656b..54031c2 100644
--- a/tools/dhcp-test.c
+++ b/tools/dhcp-test.c
@@ -37,7 +37,7 @@
 
 #include <gdhcp/gdhcp.h>
 
-static GTimer *timer;
+static GTimer *timer = NULL;
 
 static GMainLoop *main_loop;
 
diff --git a/tools/resolv-test.c b/tools/resolv-test.c
index 9867a4b..1d32ea5 100644
--- a/tools/resolv-test.c
+++ b/tools/resolv-test.c
@@ -30,9 +30,9 @@
 
 #include <gweb/gresolv.h>
 
-static GTimer *timer;
+static GTimer *timer = NULL;
 
-static GMainLoop *main_loop;
+static GMainLoop *main_loop = NULL;
 
 static void resolv_debug(const char *str, void *data)
 {
diff --git a/tools/supplicant.c b/tools/supplicant.c
index 1c96823..1a84b99 100644
--- a/tools/supplicant.c
+++ b/tools/supplicant.c
@@ -44,9 +44,9 @@
 #define IEEE80211_CAP_IBSS     0x0002
 #define IEEE80211_CAP_PRIVACY  0x0010
 
-static DBusConnection *connection;
+static DBusConnection *connection = NULL;
 
-static const struct supplicant_callbacks *callbacks_pointer;
+static const struct supplicant_callbacks *callbacks_pointer = NULL;
 
 static dbus_bool_t system_available = FALSE;
 static dbus_bool_t system_ready = FALSE;
diff --git a/tools/web-test.c b/tools/web-test.c
index a507397..ebb5b84 100644
--- a/tools/web-test.c
+++ b/tools/web-test.c
@@ -29,9 +29,9 @@
 
 #include <gweb/gweb.h>
 
-static GTimer *timer;
+static GTimer *timer = NULL;
 
-static GMainLoop *main_loop;
+static GMainLoop *main_loop = NULL;
 
 static void web_debug(const char *str, void *data)
 {
diff --git a/tools/wispr.c b/tools/wispr.c
index 122bea5..d9aa3cc 100644
--- a/tools/wispr.c
+++ b/tools/wispr.c
@@ -37,9 +37,9 @@
 
 #define DEFAULT_URL  "http://www.connman.net/online/status.html";
 
-static GTimer *timer;
+static GTimer *timer = NULL;
 
-static GMainLoop *main_loop;
+static GMainLoop *main_loop = NULL;
 
 static void web_debug(const char *str, void *data)
 {
diff --git a/tools/wpad-test.c b/tools/wpad-test.c
index a6cc792..ee5cd70 100644
--- a/tools/wpad-test.c
+++ b/tools/wpad-test.c
@@ -31,11 +31,11 @@
 
 #include <gweb/gresolv.h>
 
-static GTimer *timer;
+static GTimer *timer = NULL;
 
-static GMainLoop *main_loop;
+static GMainLoop *main_loop = NULL;
 
-static GResolv *resolv;
+static GResolv *resolv = NULL;
 
 static void resolv_debug(const char *str, void *data)
 {
-- 
1.8.0.rc0

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to