core: fix assert when trying to serialize non-initialized bus peer tracker object

This commit is contained in:
Lennart Poettering 2014-03-03 23:17:27 +01:00
parent 4d46396131
commit e4e703c307

View File

@ -1163,7 +1163,6 @@ int bus_foreach_bus(
void bus_track_serialize(sd_bus_track *t, FILE *f) {
const char *n;
assert(t);
assert(f);
for (n = sd_bus_track_first(t); n; n = sd_bus_track_next(t))