]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: drop stray assignment
authorDavid Tardon <dtardon@redhat.com>
Tue, 28 Mar 2023 07:36:35 +0000 (09:36 +0200)
committerDavid Tardon <dtardon@redhat.com>
Wed, 12 Apr 2023 15:04:38 +0000 (17:04 +0200)
src/systemctl/systemctl-list-unit-files.c

index 426ba1acc76df64c367b58cd0071df90eac85112..a2b12436b3d1d408c9c8415a2c7af60e955ce4b9 100644 (file)
@@ -169,8 +169,6 @@ int verb_list_unit_files(int argc, char *argv[], void *userdata) {
                 }
 
                 assert(c <= n_units);
-
-                r = 0;
         } else {
                 _cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL;
                 _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;