summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2009-06-17 15:07:38 +0000
committerDirk Engling <erdgeist@erdgeist.org>2009-06-17 15:07:38 +0000
commitad7dbf0c7cf6258f070032b4845393cfadf82c2a (patch)
treecd1e4fbb2a4a3721019bba1cb93ccc472c94c324 /ot_mutex.c
parentb6fdc5433ae3329d1f6cc668800ffcb3a2908905 (diff)
downloadopentracker-ad7dbf0c7cf6258f070032b4845393cfadf82c2a.tar.gz
opentracker-ad7dbf0c7cf6258f070032b4845393cfadf82c2a.zip
Remove unnecessary =NULL initialization of static pointers.
Diffstat (limited to 'ot_mutex.c')
-rw-r--r--ot_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_mutex.c b/ot_mutex.c
index 9ae5e14..9581141 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;
@@ -333,4 +333,4 @@ void mutex_deinit( ) {
byte_zero( all_torrents, sizeof( all_torrents ) );
}
-const char *g_version_mutex_c = "$Source: /home/cvsroot/opentracker/ot_mutex.c,v $: $Revision: 1.22 $\n";
+const char *g_version_mutex_c = "$Source: /home/cvsroot/opentracker/ot_mutex.c,v $: $Revision: 1.23 $\n";