aboutsummaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/os')
-rw-r--r--src/os/fs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/fs.c b/src/os/fs.c
index 44156f0dde..c472ad0da8 100644
--- a/src/os/fs.c
+++ b/src/os/fs.c
@@ -200,9 +200,6 @@ static int is_executable_in_path(const char_u *name)
int buf_len = STRLEN(name) + STRLEN(path) + 2;
char_u *buf = alloc((unsigned)(buf_len));
- if (buf == NULL) {
- return FALSE;
- }
// Walk through all entries in $PATH to check if "name" exists there and
// is an executable file.