diff options
-rw-r--r-- | intern/cycles/device/metal/kernel.mm | 4 | ||||
-rw-r--r-- | source/blender/blenlib/tests/BLI_string_utf8_test.cc | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/intern/cycles/device/metal/kernel.mm b/intern/cycles/device/metal/kernel.mm index 172c456f0c0..5e0cb6d18f4 100644 --- a/intern/cycles/device/metal/kernel.mm +++ b/intern/cycles/device/metal/kernel.mm @@ -328,8 +328,8 @@ bool MetalKernelPipeline::should_use_binary_archive() const return true; } - /* The remaining kernels are all fast to compile. They may get cached by the system shader cache, - * but will be quick to regenerate if not. */ + /* The remaining kernels are all fast to compile. They may get cached by the system shader + * cache, but will be quick to regenerate if not. */ } return false; } diff --git a/source/blender/blenlib/tests/BLI_string_utf8_test.cc b/source/blender/blenlib/tests/BLI_string_utf8_test.cc index f0c34350e1b..d66bade40ed 100644 --- a/source/blender/blenlib/tests/BLI_string_utf8_test.cc +++ b/source/blender/blenlib/tests/BLI_string_utf8_test.cc @@ -439,7 +439,6 @@ TEST(string, StrCursorStepNextUtf32Simple) EXPECT_FALSE(BLI_str_cursor_step_next_utf32(simple, len, &pos)); } - /* -------------------------------------------------------------------- */ /** \name Test #BLI_str_cursor_step_next_utf32_allcombining * \{ */ @@ -857,7 +856,7 @@ TEST(string, StrCursorStepPrevUtf8Invalid) const size_t len = 8; int pos = 8; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); - pos= 7; + pos = 7; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); pos = 6; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); |