From ae35da8d17fc4ce4b958a4c5a44b78fef3f8272e Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 8 Feb 2017 01:58:53 -0500 Subject: [PATCH] [fix] uninitialized var --- src/string_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/string_utils.c b/src/string_utils.c index 2d639813..454c0e1b 100644 --- a/src/string_utils.c +++ b/src/string_utils.c @@ -199,7 +199,7 @@ char *utf8_case(const char *s, casing_option_t casing, utf8proc_option_t options for (utf8proc_ssize_t i = 0; i < result; i++) { utf8proc_int32_t uc = buffer[i]; - utf8proc_int32_t norm; + utf8proc_int32_t norm = uc; if (casing == UTF8_LOWER) { norm = utf8proc_tolower(uc);