Skip to content

Commit 8f5b370

Browse files
committed
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>
1 parent 34a8c8b commit 8f5b370

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bubblewrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,7 @@ main (int argc,
25522552
struct stat sbuf;
25532553
uint64_t val;
25542554
int res UNUSED;
2555-
cleanup_free char *args_data = NULL;
2555+
cleanup_free char *args_data UNUSED = NULL;
25562556
int intermediate_pids_sockets[2] = {-1, -1};
25572557

25582558
/* Handle --version early on before we try to acquire/drop

0 commit comments

Comments
 (0)