From c251786cd4941fc572482fcbb6b7a6ab25fa3cb8 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Sun, 7 May 2023 13:32:20 +0200 Subject: [PATCH] Fixed warning --- tests/main.c | 1 - tests/test_tensor.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/main.c b/tests/main.c index b9a7725..6156436 100644 --- a/tests/main.c +++ b/tests/main.c @@ -1,4 +1,3 @@ -#include "../tensor.h" #include "test_tensor.h" int main(void) diff --git a/tests/test_tensor.c b/tests/test_tensor.c index be47489..df5f6fa 100644 --- a/tests/test_tensor.c +++ b/tests/test_tensor.c @@ -3,7 +3,7 @@ void test_run_all(void) { int i; - void (*test_func[NUM_TEST_FUNC])() = { + void (*test_func[NUM_TEST_FUNC])(void) = { &test_tensor_is_equal, &test_tensor_set, &test_tensor_get,