git: 72f501d07a02 - main - secure_getenv: Add () around return values

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 25 Mar 2023 17:08:09 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=72f501d07a02028a51c15614f7ac4482ce8345bd

commit 72f501d07a02028a51c15614f7ac4482ce8345bd
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-03-14 15:25:04 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-25 17:06:13 +0000

    secure_getenv: Add () around return values
    
    Style only change, no functional change intended.
    
    Sponsored by:           Netflix
---
 lib/libc/stdlib/getenv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c
index 86a846d58c69..001b9669bda9 100644
--- a/lib/libc/stdlib/getenv.c
+++ b/lib/libc/stdlib/getenv.c
@@ -455,8 +455,8 @@ char *
 secure_getenv(const char *name)
 {
 	if (issetugid())
-		return NULL;
-	return getenv(name);
+		return (NULL);
+	return (getenv(name));
 }
 
 /*