summaryrefslogtreecommitdiff
path: root/tests/unit/unit1309.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1309.c')
-rw-r--r--tests/unit/unit1309.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1309.c b/tests/unit/unit1309.c
index 91eb04090..6d6a3274f 100644
--- a/tests/unit/unit1309.c
+++ b/tests/unit/unit1309.c
@@ -129,7 +129,7 @@ UNITTEST_START
printf("Removing nodes not larger than %d\n", i);
tv_now.tv_usec = i;
root = Curl_splaygetbest(tv_now, root, &removed);
- while(removed != NULL) {
+ while(removed) {
printf("removed payload %zu[%zu]\n",
(*(size_t *)removed->payload) / 10,
(*(size_t *)removed->payload) % 10);