mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
main: Silence -Wunused-result in main.c for shada_read_file
This commit is contained in:
parent
45ad810341
commit
7abe20f3d3
@ -383,9 +383,7 @@ int main(int argc, char **argv)
|
|||||||
* This is where v:oldfiles gets filled.
|
* This is where v:oldfiles gets filled.
|
||||||
*/
|
*/
|
||||||
if (*p_shada != NUL) {
|
if (*p_shada != NUL) {
|
||||||
(void) shada_read_file(NULL, (kShaDaWantInfo
|
shada_read_everything(NULL, false);
|
||||||
| kShaDaGetOldfiles
|
|
||||||
| kShaDaWantMarks));
|
|
||||||
TIME_MSG("reading ShaDa");
|
TIME_MSG("reading ShaDa");
|
||||||
}
|
}
|
||||||
/* It's better to make v:oldfiles an empty list than NULL. */
|
/* It's better to make v:oldfiles an empty list than NULL. */
|
||||||
|
Loading…
Reference in New Issue
Block a user