mirror of
git://erdgeist.org/opentracker
synced 2025-02-17 06:31:30 +08:00
Remove unnecessary =NULL initialization of static pointers.
This commit is contained in:
parent
65d7d9b89c
commit
877e3cfbb0
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
/* GLOBAL VARIABLES */
|
/* GLOBAL VARIABLES */
|
||||||
#ifdef WANT_ACCESSLIST
|
#ifdef WANT_ACCESSLIST
|
||||||
char *g_accesslist_filename = NULL;
|
char *g_accesslist_filename;
|
||||||
static ot_vector accesslist;
|
static ot_vector accesslist;
|
||||||
|
|
||||||
static void accesslist_reset( void ) {
|
static void accesslist_reset( void ) {
|
||||||
|
@ -123,7 +123,7 @@ struct ot_task {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static ot_taskid next_free_taskid = 1;
|
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_mutex_t tasklist_mutex;
|
||||||
static pthread_cond_t tasklist_being_filled;
|
static pthread_cond_t tasklist_being_filled;
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ union stats_network_node {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef WANT_LOG_NETWORKS
|
#ifdef WANT_LOG_NETWORKS
|
||||||
static stats_network_node *stats_network_counters_root = NULL;
|
static stats_network_node *stats_network_counters_root;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) {
|
static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user