Skip to content

Commit 3dd1f33

Browse files
committed
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 <cmlists@sent.com>
1 parent 2f55bae commit 3dd1f33

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

bubblewrap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2823,9 +2823,6 @@ main (int argc,
28232823
die_with_error ("Creating new namespace failed");
28242824
}
28252825

2826-
ns_uid = opt_sandbox_uid;
2827-
ns_gid = opt_sandbox_gid;
2828-
28292826
if (pid != 0)
28302827
{
28312828
/* Parent, outside sandbox, privileged (initially) */

0 commit comments

Comments
 (0)