diff options
author | Simon McVittie <smcv@collabora.com> | 2022-03-22 17:18:56 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-04-05 14:34:47 +0100 |
commit | 8f5b37069693594422dfaacdece0acd54dd9ecc7 (patch) | |
tree | 4f6aa796f27399e384a59f2d724d70b35a9fc583 | |
parent | 34a8c8bc870783611bc1b10f504fcf00f9eaa08e (diff) | |
download | bubblewrap-8f5b37069693594422dfaacdece0acd54dd9ecc7.tar.gz |
Silence -Wunused-but-set-variable with clang
This variable is only used for lifetime tracking (autocleanup), but
clang warns on that.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | bubblewrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c index be6b81a..b17ff99 100644 --- a/bubblewrap.c +++ b/bubblewrap.c @@ -2552,7 +2552,7 @@ main (int argc, struct stat sbuf; uint64_t val; int res UNUSED; - cleanup_free char *args_data = NULL; + cleanup_free char *args_data UNUSED = NULL; int intermediate_pids_sockets[2] = {-1, -1}; /* Handle --version early on before we try to acquire/drop |