summaryrefslogtreecommitdiffstats
path: root/test/src/test.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-01-20 02:15:45 (GMT)
committerJason Evans <jasone@canonware.com>2017-01-21 05:43:07 (GMT)
commitf408643a4c90d51ab8ddc1d68610650d5db87edf (patch)
treeb12815c633d56b792ab0171e923c6c5ab68b349c /test/src/test.c
parentc4c2592c834d8a37beb0a0d53842095160cbf9ee (diff)
downloadjemalloc-f408643a4c90d51ab8ddc1d68610650d5db87edf.zip
jemalloc-f408643a4c90d51ab8ddc1d68610650d5db87edf.tar.gz
jemalloc-f408643a4c90d51ab8ddc1d68610650d5db87edf.tar.bz2
Remove extraneous parens around return arguments.
This resolves #540.
Diffstat (limited to 'test/src/test.c')
-rw-r--r--test/src/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/src/test.c b/test/src/test.c
index 1155326..c5101d4 100644
--- a/test/src/test.c
+++ b/test/src/test.c
@@ -65,7 +65,7 @@ p_test_impl(bool do_malloc_init, test_t *t, va_list ap) {
*/
if (nallocx(1, 0) == 0) {
malloc_printf("Initialization error");
- return (test_status_fail);
+ return test_status_fail;
}
}
@@ -85,7 +85,7 @@ p_test_impl(bool do_malloc_init, test_t *t, va_list ap) {
test_status_string(test_status_fail),
test_counts[test_status_fail], test_count);
- return (ret);
+ return ret;
}
test_status_t
@@ -98,7 +98,7 @@ p_test(test_t *t, ...) {
ret = p_test_impl(true, t, ap);
va_end(ap);
- return (ret);
+ return ret;
}
test_status_t
@@ -111,7 +111,7 @@ p_test_no_malloc_init(test_t *t, ...) {
ret = p_test_impl(false, t, ap);
va_end(ap);
- return (ret);
+ return ret;
}
void