diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index a4e7da770e..a218323dac 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -5588,12 +5588,6 @@ void buf_copy_options(buf_T *buf, int flags) int did_isk = FALSE; /* - * Don't do anything if the buffer is invalid. - */ - if (buf == NULL || !buf_valid(buf)) - return; - - /* * Skip this when the option defaults have not been set yet. Happens when * main() allocates the first buffer. */ |