From bc39553c901a91cfcb757863586250838c83eeab Mon Sep 17 00:00:00 2001 From: Cebtenzzre Date: Thu, 28 Sep 2023 17:41:44 -0400 Subject: build : enable more non-default compiler warnings (#3200) --- tests/test-opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-opt.cpp') diff --git a/tests/test-opt.cpp b/tests/test-opt.cpp index ce497685..fb4e0be9 100644 --- a/tests/test-opt.cpp +++ b/tests/test-opt.cpp @@ -101,7 +101,7 @@ static struct ggml_tensor * get_random_tensor( break; default: assert(false); - }; + } return result; } @@ -124,7 +124,7 @@ int main(void) { struct ggml_context * ctx = ggml_init(params); int64_t ne1[4] = {4, 128, 1, 1}; - int64_t ne2[4] = {4, 256, 1, 1};; + int64_t ne2[4] = {4, 256, 1, 1}; int64_t ne3[4] = {128, 256, 1, 1}; struct ggml_tensor * a = get_random_tensor(ctx, 2, ne1, -1, +1); -- cgit v1.2.3