aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-06-27 19:10:16 -0400
committerMichael Reed <m.reed@mykolab.com>2015-07-05 11:45:40 -0400
commit36e3f4f4c442e2d4678ccf25ef0f04bdb45b4685 (patch)
treea470455c4381829f38d4bcfc785881ab238858e1 /src
parent53053381674b1cca4c60c3657f31ea05fd935278 (diff)
downloadrneovim-36e3f4f4c442e2d4678ccf25ef0f04bdb45b4685.tar.gz
rneovim-36e3f4f4c442e2d4678ccf25ef0f04bdb45b4685.tar.bz2
rneovim-36e3f4f4c442e2d4678ccf25ef0f04bdb45b4685.zip
doc: Remove refs to dos(16|32), win16, and win95
This is primarily low-hanging fruit; there are still many references to things such as MS-DOS throughout (see os_dos.txt).
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_cmds2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index e7029b8762..d9a8dc2d69 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -2992,12 +2992,8 @@ void ex_checktime(exarg_T *eap)
static char *get_locale_val(int what)
{
- char *loc;
-
- /* Obtain the locale value from the libraries. For DJGPP this is
- * redefined and it doesn't use the arguments. */
- loc = setlocale(what, NULL);
-
+ // Obtain the locale value from the libraries.
+ char *loc = setlocale(what, NULL);
return loc;
}