From 7abe20f3d31b38bd21f7f4546303c199c4574830 Mon Sep 17 00:00:00 2001 From: ZyX Date: Mon, 6 Jul 2015 20:16:07 +0300 Subject: [PATCH] main: Silence -Wunused-result in main.c for shada_read_file --- src/nvim/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nvim/main.c b/src/nvim/main.c index bc95980afe..e8af356654 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -383,9 +383,7 @@ int main(int argc, char **argv) * This is where v:oldfiles gets filled. */ if (*p_shada != NUL) { - (void) shada_read_file(NULL, (kShaDaWantInfo - | kShaDaGetOldfiles - | kShaDaWantMarks)); + shada_read_everything(NULL, false); TIME_MSG("reading ShaDa"); } /* It's better to make v:oldfiles an empty list than NULL. */