summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-06-17 15:07:38 +0000
committererdgeist <>2009-06-17 15:07:38 +0000
commit877e3cfbb05f465ad18a4fdcc5d89ba59b34b629 (patch)
treed13aceaaa91904ae7cd2460bb9925ab6f5e16fef
parent65d7d9b89cc44b85d5ef8522276f04c53846acf2 (diff)
Remove unnecessary =NULL initialization of static pointers.
-rw-r--r--ot_accesslist.c2
-rw-r--r--ot_mutex.c2
-rw-r--r--ot_stats.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ot_accesslist.c b/ot_accesslist.c
index 6ef7114..11e4317 100644
--- a/ot_accesslist.c
+++ b/ot_accesslist.c
@@ -22,7 +22,7 @@
22 22
23/* GLOBAL VARIABLES */ 23/* GLOBAL VARIABLES */
24#ifdef WANT_ACCESSLIST 24#ifdef WANT_ACCESSLIST
25char *g_accesslist_filename = NULL; 25char *g_accesslist_filename;
26static ot_vector accesslist; 26static ot_vector accesslist;
27 27
28static void accesslist_reset( void ) { 28static void accesslist_reset( void ) {
diff --git a/ot_mutex.c b/ot_mutex.c
index 2052ffa..772d936 100644
--- a/ot_mutex.c
+++ b/ot_mutex.c
@@ -123,7 +123,7 @@ struct ot_task {
123}; 123};
124 124
125static ot_taskid next_free_taskid = 1; 125static ot_taskid next_free_taskid = 1;
126static struct ot_task *tasklist = NULL; 126static struct ot_task *tasklist;
127static pthread_mutex_t tasklist_mutex; 127static pthread_mutex_t tasklist_mutex;
128static pthread_cond_t tasklist_being_filled; 128static pthread_cond_t tasklist_being_filled;
129 129
diff --git a/ot_stats.c b/ot_stats.c
index 2e745a4..7cbd1ce 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -82,7 +82,7 @@ union stats_network_node {
82}; 82};
83 83
84#ifdef WANT_LOG_NETWORKS 84#ifdef WANT_LOG_NETWORKS
85static stats_network_node *stats_network_counters_root = NULL; 85static stats_network_node *stats_network_counters_root;
86#endif 86#endif
87 87
88static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) { 88static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) {