]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journal: remove unused variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 22 Oct 2016 12:01:20 +0000 (14:01 +0200)
committerDaniel Mack <github@zonque.org>
Sat, 22 Oct 2016 14:00:11 +0000 (16:00 +0200)
src/journal/journald-server.c

index 92c623d9e99466708e7913900375d65db60d1359..44962bc5d67272531e44635576e74427c3148bbb 100644 (file)
@@ -131,8 +131,6 @@ static void cache_space_invalidate(JournalStorageSpace *space) {
 }
 
 static int cache_space_refresh(Server *s, JournalStorage *storage) {
-
-        _cleanup_closedir_ DIR *d = NULL;
         JournalStorageSpace *space;
         JournalMetrics *metrics;
         uint64_t vfs_used, vfs_avail, avail;