aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-02-03 20:07:00 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-03-05 19:03:34 -0500
commit357583ff8ca4aaaeef656a5c4856ee23b0d7e98e (patch)
tree3185d4019840390d64773657643f236af6a74e73 /src/nvim/ex_cmds.c
parent0dd1ad0760ecdbfeef94da4ef33d71e66eab35b3 (diff)
downloadrneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.gz
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.tar.bz2
rneovim-357583ff8ca4aaaeef656a5c4856ee23b0d7e98e.zip
Macro cleanup: HAVE_SANDBOX
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 3dde055c2a..2d6ef5ef17 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -3396,16 +3396,13 @@ int check_secure(void)
EMSG(_(e_curdir));
return TRUE;
}
-#ifdef HAVE_SANDBOX
- /*
- * In the sandbox more things are not allowed, including the things
- * disallowed in secure mode.
- */
+
+ // In the sandbox more things are not allowed, including the things
+ // disallowed in secure mode.
if (sandbox != 0) {
EMSG(_(e_sandbox));
return TRUE;
}
-#endif
return FALSE;
}