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 @@ /* GLOBAL VARIABLES */ #ifdef WANT_ACCESSLIST -char *g_accesslist_filename = NULL; +char *g_accesslist_filename; static ot_vector accesslist; static 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 { }; static ot_taskid next_free_taskid = 1; -static struct ot_task *tasklist = NULL; +static struct ot_task *tasklist; static pthread_mutex_t tasklist_mutex; static pthread_cond_t tasklist_being_filled; 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 { }; #ifdef WANT_LOG_NETWORKS -static stats_network_node *stats_network_counters_root = NULL; +static stats_network_node *stats_network_counters_root; #endif static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) {