mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
posix: Fix Hurd build failure in tst-execveat
This avoids a -Werror compilation failure due to unused local variables.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user