summaryrefslogtreecommitdiff
path: root/lib/splay.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/splay.c')
-rw-r--r--lib/splay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/splay.c b/lib/splay.c
index 1c1dafb92..bcc079521 100644
--- a/lib/splay.c
+++ b/lib/splay.c
@@ -107,7 +107,7 @@ struct Curl_tree *Curl_splayinsert(struct curltime i,
if(!node)
return t;
- if(t != NULL) {
+ if(t) {
t = Curl_splay(i, t);
if(compare(i, t->key) == 0) {
/* There already exists a node in the tree with the very same key. Build