summaryrefslogtreecommitdiff
path: root/tests/unit/unit1602.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1602.c')
-rw-r--r--tests/unit/unit1602.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/unit1602.c b/tests/unit/unit1602.c
index ee6acacc5..bb6e504c4 100644
--- a/tests/unit/unit1602.c
+++ b/tests/unit/unit1602.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -38,8 +38,9 @@ static void mydtor(void *p)
static CURLcode unit_setup(void)
{
- return Curl_hash_init(&hash_static, 7, Curl_hash_str,
- Curl_str_key_compare, mydtor);
+ Curl_hash_init(&hash_static, 7, Curl_hash_str,
+ Curl_str_key_compare, mydtor);
+ return CURLE_OK;
}
static void unit_stop(void)