Browse Source

Remove unnecessary =NULL initialization of static pointers.

erdgeist 12 years ago
parent
commit
877e3cfbb0
  1. 2
      ot_accesslist.c
  2. 2
      ot_mutex.c
  3. 2
      ot_stats.c

2
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 ) {

2
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;

2
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 ) {

Loading…
Cancel
Save