diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-09-09 16:03:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-09-09 16:03:36 +0300 |
commit | 6039d1573242fa5444c013351c000c6994ef8caf (patch) | |
tree | 27a397256f21e7eb7d960a3fb884057a9e14ceb7 | |
parent | 05f821b094b44ef588d4c678193f76ae2ee1797d (diff) |
Fix Clang warning about braces around initialization
-rw-r--r-- | intern/mikktspace/mikk_util.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/mikktspace/mikk_util.hh b/intern/mikktspace/mikk_util.hh index 224ed647b30..857ca95910b 100644 --- a/intern/mikktspace/mikk_util.hh +++ b/intern/mikktspace/mikk_util.hh @@ -108,7 +108,7 @@ void radixsort(std::vector<T> &data, std::vector<T> &data2, KeyGetter getKey) static_assert(datasize % 2 == 0); static_assert(std::is_integral<key_t>::value); - uint bins[datasize][257] = {0}; + uint bins[datasize][257] = {{0}}; /* Count number of elements per bin. */ for (const T &item : data) { |