resolve: remove unsed counter (#4349)

It was introduced but never used in 45ec7efb.
This commit is contained in:
Thomas H. P. Andersen
2016-10-11 13:51:03 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 56b4c80b42
commit f68c9dd5c6
-2
View File
@@ -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);