Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-09-09 16:03:04 +0300
committerSergey Sharybin <sergey@blender.org>2022-09-09 16:03:36 +0300
commit6039d1573242fa5444c013351c000c6994ef8caf (patch)
tree27a397256f21e7eb7d960a3fb884057a9e14ceb7 /intern
parent05f821b094b44ef588d4c678193f76ae2ee1797d (diff)
Fix Clang warning about braces around initialization
Diffstat (limited to 'intern')
-rw-r--r--intern/mikktspace/mikk_util.hh2
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) {