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>
This commit is contained in:
Simon McVittie
2022-03-22 17:18:56 +00:00
parent 34a8c8bc87
commit 8f5b370696

View File

@@ -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