Browse Source

Remove unnecessary =NULL initialization of static pointers.

undefined
erdgeist 11 years ago
parent
commit
877e3cfbb0
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      ot_accesslist.c
  2. +1
    -1
      ot_mutex.c
  3. +1
    -1
      ot_stats.c

+ 1
- 1
ot_accesslist.c View File

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


+ 1
- 1
ot_mutex.c View File

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



+ 1
- 1
ot_stats.c View File

@@ -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