=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sftp.c,v retrieving revision 1.232 retrieving revision 1.233 diff -u -r1.232 -r1.233 --- src/usr.bin/ssh/sftp.c 2023/03/31 04:45:08 1.232 +++ src/usr.bin/ssh/sftp.c 2023/04/06 03:12:32 1.233 @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.232 2023/03/31 04:45:08 dtucker Exp $ */ +/* $OpenBSD: sftp.c,v 1.233 2023/04/06 03:12:32 djm Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -1978,7 +1978,7 @@ tmp = make_absolute_pwd_glob(tmp, remote_path); remote_glob(conn, tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g); } else - glob(tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g); + (void)glob(tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g); /* Determine length of pwd so we can trim completion display */ for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) {