]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-bus: drop unnecessary braces
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 25 Dec 2023 12:32:16 +0000 (13:32 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 25 Dec 2023 17:26:59 +0000 (18:26 +0100)
src/libsystemd/sd-bus/test-bus-objects.c

index ccdd0d50b7c03f3742c26c540a84190c613dfc83..2847ba84f5b13381573236a5d0897beb3c04b434 100644 (file)
@@ -494,10 +494,9 @@ static int client(struct context *c) {
                         }
                         assert_se(sd_bus_message_exit_container(reply) >= 0);
 
-                        if (streq(path, "/value/a")) {
+                        if (streq(path, "/value/a"))
                                 /* ObjectManager must be here */
                                 assert_se(found_object_manager_interface);
-                        }
 
                 } else
                         assert_se(sd_bus_message_skip(reply, "a{sa{sv}}") >= 0);