chiark / gitweb /
machinectl: remove dead code
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 31 Dec 2014 14:52:23 +0000 (15:52 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 31 Dec 2014 14:52:23 +0000 (15:52 +0100)
'r' is not touched after the previous error-checking 100 lines above. Drop
that code.

src/machine/machinectl.c

index 0abc251cf808f1815ea40939b1184b682b6a8b9f..b1d170787b28c5c2f121f7491579b8ccda6e216c 100644 (file)
@@ -250,9 +250,6 @@ static int list_images(int argc, char *argv[], void *userdata) {
                        (int) max_mtime, strna(format_timestamp(mtime_buf, sizeof(mtime_buf), images[j].mtime)));
         }
 
                        (int) max_mtime, strna(format_timestamp(mtime_buf, sizeof(mtime_buf), images[j].mtime)));
         }
 
-        if (r < 0)
-                return bus_log_parse_error(r);
-
 
         if (arg_legend)
                 printf("\n%zu images listed.\n", n_images);
 
         if (arg_legend)
                 printf("\n%zu images listed.\n", n_images);