main: Silence -Wunused-result in main.c for shada_read_file

This commit is contained in:
ZyX 2015-07-06 20:16:07 +03:00
parent 45ad810341
commit 7abe20f3d3

View File

@ -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. */