posix: Fix Hurd build failure in tst-execveat

This avoids a -Werror compilation failure due to unused local
variables.
This commit is contained in:
Florian Weimer 2021-05-04 15:52:58 +02:00
parent 2a76821c30
commit 2c71177309

View File

@ -78,9 +78,12 @@ static int
do_test (void)
{
DIR *dirp;
int fd, fd_out;
int fd;
#ifdef O_PATH
int fd_out;
char *tmp_dir, *symlink_name, *tmp_sh;
struct stat64 st;
#endif
dirp = opendir ("/bin");
if (dirp == NULL)