mirror of git://sourceware.org/git/glibc.git
posix: Fix Hurd build failure in tst-execveat
This avoids a -Werror compilation failure due to unused local variables.
This commit is contained in:
parent
2a76821c30
commit
2c71177309
|
|
@ -78,9 +78,12 @@ static int
|
||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
DIR *dirp;
|
DIR *dirp;
|
||||||
int fd, fd_out;
|
int fd;
|
||||||
|
#ifdef O_PATH
|
||||||
|
int fd_out;
|
||||||
char *tmp_dir, *symlink_name, *tmp_sh;
|
char *tmp_dir, *symlink_name, *tmp_sh;
|
||||||
struct stat64 st;
|
struct stat64 st;
|
||||||
|
#endif
|
||||||
|
|
||||||
dirp = opendir ("/bin");
|
dirp = opendir ("/bin");
|
||||||
if (dirp == NULL)
|
if (dirp == NULL)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue