diff options
author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2016-03-22 16:31:34 -0600 |
---|---|---|
committer | Ian Elliott <ianelliott@google.com> | 2016-03-24 08:57:07 -0600 |
commit | 8eb998e207bdef4ce24b323293c6be80184502a9 (patch) | |
tree | 82d07284b626348288ab1589f7ab3647233f6a7d | |
parent | 4191f312a9285ee179d474894f4d2400c4c96a50 (diff) | |
download | vulkan-validation-layers-8eb998e207bdef4ce24b323293c6be80184502a9.tar.gz |
GH171: Fix compiler warning
-rw-r--r-- | layers/vk_layer_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/vk_layer_utils.cpp b/layers/vk_layer_utils.cpp index d44a3b264..a1ddd2222 100644 --- a/layers/vk_layer_utils.cpp +++ b/layers/vk_layer_utils.cpp @@ -579,7 +579,7 @@ static const char UTF8_DATA_BYTE_MASK = 0xC0; 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++) { |