From 482ea31d88f0516f6ed6b4800d42a0fcc3b0cb26 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sat, 30 Aug 2025 15:40:25 +0300 Subject: Remove end label You can omit it and just do exit --- sami.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sami.c') diff --git a/sami.c b/sami.c index 8ae01c6..80bda70 100644 --- a/sami.c +++ b/sami.c @@ -82,11 +82,9 @@ retry: continue; } if (handler(&actor[i], buffer, sz)) - goto end; + exit(0); } goto retry; -end: - exit(0); } close(pair[1]); -- cgit 1.4.1