From: Koli Jak Subject: [PATCH] usr.bin/true,false: Remove redundant return parens To: tech@openbsd.org Date: Mon, 31 Mar 2025 16:14:58 +0200 Problem: Redundant parentheses in return statements. Solution: Remove them for KNF consistency. (No functional changes; tested on OpenBSD -current.) diff --git a/usr.bin/false/false.c b/usr.bin/false/false.c index 240f4bd42dd..559b702738e 100644 --- a/usr.bin/false/false.c +++ b/usr.bin/false/false.c @@ -5,5 +5,5 @@ int main(int argc, char *argv[]) { - return (1); + return 1; } diff --git a/usr.bin/true/true.c b/usr.bin/true/true.c index a27b589e820..9967b3ab5d1 100644 --- a/usr.bin/true/true.c +++ b/usr.bin/true/true.c @@ -5,5 +5,5 @@ int main(int argc, char *argv[]) { - return (0); + return 0; }