diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-19 14:09:13 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-19 08:44:55 +0200 |
commit | 31d99bd172b17179ec24f63fc8ca4d6530dc98ae (patch) | |
tree | 03042a5f12d475e3cbc2be570a50194aa6b40dac /src/portable | |
parent | 496ab389cce80b436aa1e68fdb970363a8b093fb (diff) | |
download | systemd-31d99bd172b17179ec24f63fc8ca4d6530dc98ae.tar.gz |
tree-wide: do not assign values if not used
Diffstat (limited to 'src/portable')
-rw-r--r-- | src/portable/portablectl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index 4051875b76..b4895e6380 100644 --- a/src/portable/portablectl.c +++ b/src/portable/portablectl.c @@ -510,13 +510,13 @@ static int list_images(int argc, char *argv[], void *userdata) { return bus_log_parse_error(r); for (;;) { - const char *name, *type, *state, *object; + const char *name, *type, *state; uint64_t crtime, mtime, usage; TableCell *cell; bool ro_bool; int ro_int; - r = sd_bus_message_read(reply, "(ssbtttso)", &name, &type, &ro_int, &crtime, &mtime, &usage, &state, &object); + r = sd_bus_message_read(reply, "(ssbtttso)", &name, &type, &ro_int, &crtime, &mtime, &usage, &state, NULL); if (r < 0) return bus_log_parse_error(r); if (r == 0) |