diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2023-03-31 06:45:08 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-03-31 07:17:46 +0200 |
commit | 6b73aa29035991d1448a1a76f63ac152a6bf931c (patch) | |
tree | 6c3f97e53c7357ffd4a80113877c12514056e237 /ssh-agent.c | |
parent | upstream: Return immediately from get_sock_port (diff) | |
download | openssh-6b73aa29035991d1448a1a76f63ac152a6bf931c.tar.xz openssh-6b73aa29035991d1448a1a76f63ac152a6bf931c.zip |
upstream: Explictly ignore return codes
where we don't check them.
OpenBSD-Commit-ID: 1ffb03038ba1b6b72667be50cf5e5e396b5f2740
Diffstat (limited to '')
-rw-r--r-- | ssh-agent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 618bb1981..c72518ba3 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.297 2023/03/09 21:06:24 jcs Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.298 2023/03/31 04:45:08 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2020,8 +2020,8 @@ main(int ac, char **av) sanitise_stdfd(); /* drop */ - setegid(getgid()); - setgid(getgid()); + (void)setegid(getgid()); + (void)setgid(getgid()); platform_disable_tracing(0); /* strict=no */ |