From 264c757d66f7b8c469b127cdb64ec9b18f385552 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 29 May 2023 14:35:18 +0200 Subject: bugfix with if true branch ending in return --- test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test.c') diff --git a/test.c b/test.c index 9a3aafb..ff9b430 100644 --- a/test.c +++ b/test.c @@ -36,7 +36,8 @@ int foop(struct foo *foo) { ++foo->n0.n1.n2.ww; int xy = (*foo).xy; foo->flex[2] *= 5; - if (foo->x)return xy; else return foo->y; + if (foo->x)return xy; + return foo->y; } int abs(int x){ -- cgit v1.2.3