aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/option.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/option.c b/src/option.c
index ed66b9f442..0cf3c0d01b 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2970,13 +2970,9 @@ do_set (
i = 0;
if (*arg == '-')
i = 1;
-#ifdef HAVE_STRTOL
value = strtol((char *)arg, NULL, 0);
if (arg[i] == '0' && TOLOWER_ASC(arg[i + 1]) == 'x')
i += 2;
-#else
- value = atol((char *)arg);
-#endif
while (VIM_ISDIGIT(arg[i]))
++i;
if (arg[i] != NUL && !vim_iswhite(arg[i])) {