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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-30 07:14:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-30 07:15:05 +0300
commit543ddbe6bfa8072b4c09ccc9abe27237d3598db5 (patch)
tree3d7ca08c1c16389e803721597817f11c53325523 /source/blender/blenlib
parent266b1e2cdbc19466ac452cc3cb08273d6f37b341 (diff)
Cleanup: warnings (clang)
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_timer.c2
-rw-r--r--source/blender/blenlib/intern/noise.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_timer.c b/source/blender/blenlib/intern/BLI_timer.c
index 7bb919d47e0..fdd89771077 100644
--- a/source/blender/blenlib/intern/BLI_timer.c
+++ b/source/blender/blenlib/intern/BLI_timer.c
@@ -50,7 +50,7 @@ typedef struct TimerContainer {
bool file_load_cb_registered;
} TimerContainer;
-static TimerContainer GlobalTimer = { 0 };
+static TimerContainer GlobalTimer = {{0}};
static void ensure_callback_is_registered(void);
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c
index 8ee99544ca5..ee2bab11ade 100644
--- a/source/blender/blenlib/intern/noise.c
+++ b/source/blender/blenlib/intern/noise.c
@@ -188,7 +188,7 @@ const unsigned char hash[512] = {
};
-const float hashvectf[768] = {
+static const float hashvectf[768] = {
0.33783, 0.715698, -0.611206, -0.944031, -0.326599, -0.045624, -0.101074, -0.416443, -0.903503, 0.799286, 0.49411,
-0.341949, -0.854645, 0.518036, 0.033936, 0.42514, -0.437866, -0.792114, -0.358948, 0.597046, 0.717377, -0.985413,
0.144714, 0.089294, -0.601776, -0.33728, -0.723907, -0.449921, 0.594513, 0.666382, 0.208313, -0.10791, 0.972076,