diff options
| author | erdgeist <> | 2009-06-17 15:07:38 +0000 |
|---|---|---|
| committer | erdgeist <> | 2009-06-17 15:07:38 +0000 |
| commit | 877e3cfbb05f465ad18a4fdcc5d89ba59b34b629 (patch) | |
| tree | d13aceaaa91904ae7cd2460bb9925ab6f5e16fef | |
| parent | 65d7d9b89cc44b85d5ef8522276f04c53846acf2 (diff) | |
Remove unnecessary =NULL initialization of static pointers.
| -rw-r--r-- | ot_accesslist.c | 2 | ||||
| -rw-r--r-- | ot_mutex.c | 2 | ||||
| -rw-r--r-- | ot_stats.c | 2 |
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 |
| 25 | char *g_accesslist_filename = NULL; | 25 | char *g_accesslist_filename; |
| 26 | static ot_vector accesslist; | 26 | static ot_vector accesslist; |
| 27 | 27 | ||
| 28 | static void accesslist_reset( void ) { | 28 | static void accesslist_reset( void ) { |
| @@ -123,7 +123,7 @@ struct ot_task { | |||
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | static ot_taskid next_free_taskid = 1; | 125 | static ot_taskid next_free_taskid = 1; |
| 126 | static struct ot_task *tasklist = NULL; | 126 | static struct ot_task *tasklist; |
| 127 | static pthread_mutex_t tasklist_mutex; | 127 | static pthread_mutex_t tasklist_mutex; |
| 128 | static pthread_cond_t tasklist_being_filled; | 128 | static pthread_cond_t tasklist_being_filled; |
| 129 | 129 | ||
| @@ -82,7 +82,7 @@ union stats_network_node { | |||
| 82 | }; | 82 | }; |
| 83 | 83 | ||
| 84 | #ifdef WANT_LOG_NETWORKS | 84 | #ifdef WANT_LOG_NETWORKS |
| 85 | static stats_network_node *stats_network_counters_root = NULL; | 85 | static stats_network_node *stats_network_counters_root; |
| 86 | #endif | 86 | #endif |
| 87 | 87 | ||
| 88 | static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) { | 88 | static int stat_increase_network_count( stats_network_node **node, int depth, uintptr_t ip ) { |
