summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authortim <tim>2012-02-14 18:03:30 +0000
committertim <tim>2012-02-14 18:03:30 +0000
commit61be551d4706108c1e2f88e4642b0bc140e5ac7f (patch)
tree5c085c54084c471318c93a5418991d0943299a93 /sshd.c
parenta8e0ea90df0c3012d5e6fbeb90f2adf3057bb266 (diff)
downloadopenssh-61be551d4706108c1e2f88e4642b0bc140e5ac7f.tar.gz
- (tim) [openbsd-compat/bsd-misc.h sshd.c] Fix conflicting return type for
unsetenv due to rev 1.14 change to setenv.c. Cast unsetenv to void in sshd.c ok dtucker@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index c8d71f8f..b63aaa42 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1511,7 +1511,7 @@ main(int ac, char **av)
* root's environment
*/
if (getenv("KRB5CCNAME") != NULL)
- unsetenv("KRB5CCNAME");
+ (void) unsetenv("KRB5CCNAME");
#ifdef _UNICOS
/* Cray can define user privs drop all privs now!