aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-05-06 19:28:36 -0400
committerGitHub <noreply@github.com>2021-05-06 19:28:36 -0400
commit21035cff9f1d279e3cb5ec866916bfa231cdbaa2 (patch)
tree22f29c01fa089b7d239ffe9b5bc86fba0285834e /src/nvim/os/fs.c
parenta3e914b64c621605f91d7284f3050f7fed57a856 (diff)
parentefed75f91638bc52a2a551683c2f7a1da4a1e3ea (diff)
downloadrneovim-21035cff9f1d279e3cb5ec866916bfa231cdbaa2.tar.gz
rneovim-21035cff9f1d279e3cb5ec866916bfa231cdbaa2.tar.bz2
rneovim-21035cff9f1d279e3cb5ec866916bfa231cdbaa2.zip
Merge pull request #14500 from jamessan/coverity-fixes
Various Coverity fixes
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index a3bef3389c..d0fa74a77f 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -471,8 +471,6 @@ FILE *os_fopen(const char *path, const char *flags)
abort();
}
}
- // Per open(2) manpage.
- assert((iflags|O_RDONLY) || (iflags|O_WRONLY) || (iflags|O_RDWR));
// Per fopen(3) manpage: default to 0666, it will be umask-adjusted.
int fd = os_open(path, iflags, 0666);
if (fd < 0) {