Cleanup: quiet missing parenthesis & unused function warnings
This commit is contained in:
@@ -1070,6 +1070,8 @@ GHOST_TSuccess GHOST_ContextVK::initializeDrawingContext()
|
||||
VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME);
|
||||
optional_device_extensions.push_back(VK_EXT_SWAPCHAIN_MAINTENANCE_1_EXTENSION_NAME);
|
||||
}
|
||||
#else
|
||||
(void)contains_extension;
|
||||
#endif
|
||||
|
||||
required_device_extensions.push_back(VK_KHR_SWAPCHAIN_EXTENSION_NAME);
|
||||
|
||||
@@ -1772,7 +1772,7 @@ GLCompilerWorker *GLShaderCompiler::get_compiler_worker(const GLSourcesBaked &so
|
||||
|
||||
GLCompilerWorker *result = nullptr;
|
||||
while (true) {
|
||||
if (result = try_get_compiler_worker()) {
|
||||
if ((result = try_get_compiler_worker())) {
|
||||
BLI_time_sleep_ms(1);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user