mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove redundand 'else' and 'return'.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
31d2b1cf99
commit
dfdc07bc43
1 changed files with 2 additions and 3 deletions
|
|
@ -48,8 +48,8 @@ libc_dlopen(const char *path, int mode)
|
|||
if (__libc_restricted_mode) {
|
||||
_rtld_error("Service unavailable -- libc in restricted mode");
|
||||
return (NULL);
|
||||
} else
|
||||
return (dlopen(path, mode));
|
||||
}
|
||||
return (dlopen(path, mode));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -57,6 +57,5 @@ __FreeBSD_libc_enter_restricted_mode(void)
|
|||
{
|
||||
|
||||
__libc_restricted_mode = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue