summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-06 23:04:47 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-06 23:04:47 +0200
commit9d6650f6c443985a83df3b3415eb42137e613f1f (patch)
treec2be6cc387cde90c14d77e0173b91eff3d5bb45f /src/if_perl.xs
parentdebe25a2a58f32a8301765c8c503c457ced3965d (diff)
Avoid compiler warnings.
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 5c0c8ead68..1a83de45de 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -696,7 +696,9 @@ ex_perl(eap)
char *script;
STRLEN length;
SV *sv;
+#ifdef HAVE_SANDBOX
SV *safe;
+#endif
script = (char *)script_get(eap, eap->arg);
if (eap->skip)