diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-02 22:40:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 22:40:09 -0400 |
commit | 7d4f890aa92a1d961c5a048486adf9195427e940 (patch) | |
tree | 7bf54e6836f18958375cd09794b19b334da53d27 /src/nvim/ex_session.c | |
parent | 68d40388f356587726ea7db83f87846dfaecf9d9 (diff) | |
parent | 6a2f1b1740e01f9cd35ec174a41bda6f49f44f2b (diff) | |
download | rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.tar.gz rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.tar.bz2 rneovim-7d4f890aa92a1d961c5a048486adf9195427e940.zip |
Merge pull request #14710 from janlazo/clang-warnings
Reduce clang warnings
Diffstat (limited to 'src/nvim/ex_session.c')
-rw-r--r-- | src/nvim/ex_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_session.c b/src/nvim/ex_session.c index c1e52d6994..481febd16b 100644 --- a/src/nvim/ex_session.c +++ b/src/nvim/ex_session.c @@ -725,7 +725,7 @@ static int makeopens(FILE *fd, char_u *dirnow) } } - if (tab_firstwin->w_next != NULL) { + if (tab_firstwin != NULL && tab_firstwin->w_next != NULL) { // Go to the first window. PUTLINE_FAIL("wincmd t"); |