Commit de64b353 authored by Max Kellermann's avatar Max Kellermann

db/upnp: use DatabaseStats::Clear()

parent 7df8e1ea
......@@ -772,10 +772,7 @@ UpnpDatabase::GetStats(const DatabaseSelection &,
{
/* Note: this gets called before the daemonizing so we can't
reallyopen this would be a problem if we had real stats */
stats.song_count = 0;
stats.total_duration = 0;
stats.artist_count = 0;
stats.album_count = 0;
stats.Clear();
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment