aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Reed <Pyrohh@users.noreply.github.com>2015-07-05 18:33:58 -0400
committerMichael Reed <Pyrohh@users.noreply.github.com>2015-07-05 18:33:58 -0400
commitdeab194413af1475f8f4d8657500c1250521059e (patch)
treeb37d313cff5f815a9fec8bc14a6c36b91dd1cf95 /src
parent53053381674b1cca4c60c3657f31ea05fd935278 (diff)
parent5da8ac8d2937ed4fd0c6da4116f70fdd34204220 (diff)
downloadrneovim-deab194413af1475f8f4d8657500c1250521059e.tar.gz
rneovim-deab194413af1475f8f4d8657500c1250521059e.tar.bz2
rneovim-deab194413af1475f8f4d8657500c1250521059e.zip
Merge pull request #2916 from Pyrohh/doc-cleanup-5
[RFC] Doc cleanup (5) Reviewed-by: Felipe Morales <hel.sheep@gmail.com> Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
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;
}