diff options
| author | 2023-05-29 14:35:18 +0200 | |
|---|---|---|
| committer | 2023-05-30 08:57:37 +0200 | |
| commit | 264c757d66f7b8c469b127cdb64ec9b18f385552 (patch) | |
| tree | 372046067e33eb71968889743913e1aeb477a8e3 /test.c | |
| parent | 1c04435e5d33378ffa8eca65ca1ed35f3f9f4134 (diff) | |
bugfix with if true branch ending in return
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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){ |