From 06a079055a68dd73150ed002fad7059ad3b41235 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 31 Dec 2014 15:52:23 +0100 Subject: [PATCH] machinectl: remove dead code 'r' is not touched after the previous error-checking 100 lines above. Drop that code. --- src/machine/machinectl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 0abc251cf..b1d170787 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -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))); } - if (r < 0) - return bus_log_parse_error(r); - if (arg_legend) printf("\n%zu images listed.\n", n_images); -- 2.30.2