From 4e72101d371a782a9297e1ac27dca2d0f381d111 Mon Sep 17 00:00:00 2001 From: correctmost Date: Tue, 9 Jun 2026 00:08:35 -0400 Subject: [PATCH] bubblewrap: Fix deadcode.DeadStores warnings from analyze-build There were two duplicate assignment blocks without any intervening reads: ns_uid = opt_sandbox_uid; ns_gid = opt_sandbox_gid; ... ns_uid = opt_sandbox_uid; ns_gid = opt_sandbox_gid; Signed-off-by: correctmost --- bubblewrap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bubblewrap.c b/bubblewrap.c index 3b9719c4..6cd488de 100644 --- a/bubblewrap.c +++ b/bubblewrap.c @@ -2823,9 +2823,6 @@ main (int argc, die_with_error ("Creating new namespace failed"); } - ns_uid = opt_sandbox_uid; - ns_gid = opt_sandbox_gid; - if (pid != 0) { /* Parent, outside sandbox, privileged (initially) */