diff options
author | Max Kellermann <max@duempel.org> | 2011-09-13 21:36:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-13 21:39:07 +0200 |
commit | b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75 (patch) | |
tree | 13032fee9c1341f02a2318eb12e3356f87f74d74 /src/stats.c | |
parent | a6c797ee4b8e83c031961b22e449f083e79fe7af (diff) | |
download | mpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.tar.gz mpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.tar.xz mpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.zip |
database: don't allow uri==NULL
Add nonnull attributes and fix all callers.
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c index fe0c2a476..ec39ff5b7 100644 --- a/src/stats.c +++ b/src/stats.c @@ -98,7 +98,7 @@ void stats_update(void) data.artists = strset_new(); data.albums = strset_new(); - db_walk(NULL, &collect_stats_visitor, &data, NULL); + db_walk("", &collect_stats_visitor, &data, NULL); stats.artist_count = strset_size(data.artists); stats.album_count = strset_size(data.albums); |