]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
stdio-bridge: remove unreachable return 39724/head
authorMike Yuan <me@yhndnzj.com>
Thu, 13 Nov 2025 20:08:50 +0000 (21:08 +0100)
committerMike Yuan <me@yhndnzj.com>
Thu, 13 Nov 2025 20:28:17 +0000 (21:28 +0100)
src/stdio-bridge/stdio-bridge.c

index 441d8c655a5295d3059942a0f81082b707a0e0e9..52c87559a4933f86062ad5bbb10437b3b589adc4 100644 (file)
@@ -114,8 +114,6 @@ static int bus_set_address(
                 const char *bus_path,
                 RuntimeScope runtime_scope) {
 
-        int r;
-
         assert(bus);
 
         switch (transport) {
@@ -143,8 +141,6 @@ static int bus_set_address(
         default:
                 assert_not_reached();
         }
-
-        return r;
 }
 
 static int run(int argc, char *argv[]) {