summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index d7ac0b7..4154fac 100644
--- a/src/util.c
+++ b/src/util.c
@@ -94,7 +94,7 @@ slv2_get_lang()
|| !strcmp(env_lang, "C") || !strcmp(env_lang, "POSIX")) {
return NULL;
}
-
+
const size_t env_lang_len = strlen(env_lang);
char* const lang = malloc(env_lang_len + 1);
for (size_t i = 0; i < env_lang_len + 1; ++i) {