]> granicus.if.org Git - strace/commit
tests: workaround clang -Wunneeded-internal-declaration bug
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 16 Sep 2018 09:48:16 +0000 (09:48 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 16 Sep 2018 09:48:16 +0000 (09:48 +0000)
commitd7cbc89824a1b2a1ce574309ee36114374fbacdb
tree8ae3bf29c4a5bc510db9932875331bd16e6bcc3d
parent5aba5298543f5409f2a24f8b6a995dcf19d6fa23
tests: workaround clang -Wunneeded-internal-declaration bug

* tests/execve.c (main): Explicitly mark q_envp variable as used
to workaround clang -Wunneeded-internal-declaration bug.
* tests/execveat.c (main): Likewise.
* tests/nsyscalls.c (main): Explicitly mark syscallent variable as used
to workaround clang -Wunneeded-internal-declaration bug.

Closes: https://github.com/strace/strace/issues/78
tests/execve.c
tests/execveat.c
tests/nsyscalls.c