* [PATCH COMMITTED] posix: Fix Hurd build failure in tst-execveat
@ 2021-05-04 14:28 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-05-04 14:28 UTC (permalink / raw)
To: libc-alpha
This avoids a -Werror compilation failure due to unused local
variables.
---
posix/tst-execveat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c
index 53178c10d5..bc4d1aedc9 100644
--- a/posix/tst-execveat.c
+++ b/posix/tst-execveat.c
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-04 14:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 14:28 [PATCH COMMITTED] posix: Fix Hurd build failure in tst-execveat Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).