diff options
author | Thomas H. P. Andersen <phomes@gmail.com> | 2016-10-11 19:51:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-11 13:51:03 -0400 |
commit | f68c9dd5c6d0862cbcc89d5339715128a3b5d4a9 (patch) | |
tree | fd17bd454c26c936a8a7d66428a3de48945fef01 /src/resolve | |
parent | 56b4c80b429d7707af36f1f9b8192c9a51b43e5f (diff) |
resolve: remove unsed counter (#4349)
It was introduced but never used in 45ec7efb.
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolve-tool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolve-tool.c b/src/resolve/resolve-tool.c index 8aa79049b6..9d4d04220c 100644 --- a/src/resolve/resolve-tool.c +++ b/src/resolve/resolve-tool.c @@ -780,7 +780,6 @@ static int resolve_service(sd_bus *bus, const char *name, const char *type, cons if (r < 0) return bus_log_parse_error(r); - c = 0; while ((r = sd_bus_message_read_array(reply, 'y', (const void**) &p, &sz)) > 0) { _cleanup_free_ char *escaped = NULL; @@ -789,7 +788,6 @@ static int resolve_service(sd_bus *bus, const char *name, const char *type, cons return log_oom(); printf("%*s%s\n", (int) indent, "", escaped); - c++; } if (r < 0) return bus_log_parse_error(r); |