commit | 8ed83c89e24ac490650b73d7c4830e86a946f42b | [log] [tgz] |
---|---|---|
author | Courtney Goeltzenleuchter <courtneygo@google.com> | Tue Mar 22 16:31:34 2016 -0600 |
committer | Ian Elliott <ianelliott@google.com> | Thu Mar 24 08:57:07 2016 -0600 |
tree | ff4839d611eb3bf69c91264a335f14538ccec383 | |
parent | 09577d9b7f5e11a4c96071ce50b8918cbd52b9e3 [diff] [blame] |
GH171: Fix compiler warning
diff --git a/layers/vk_layer_utils.cpp b/layers/vk_layer_utils.cpp index d44a3b2..a1ddd22 100644 --- a/layers/vk_layer_utils.cpp +++ b/layers/vk_layer_utils.cpp
@@ -579,7 +579,7 @@ VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) { VkStringErrorFlags result = VK_STRING_ERROR_NONE; - int num_char_bytes; + int num_char_bytes = 0; int i, j; for (i = 0; i < max_length; i++) {