Move the addLayerIfAvailable() anonymous function to the condition where it's actually used. Otherwise we get "error: unused variable 'addLayerIfAvailable' [-Werror,-Wunused-variable]" Bug: b/185779640 Change-Id: I2aaa0656bfcb0c1c0aa14c44837cf1b46ea02f54 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/53988 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Reviewed-by:Alexis Hétu <sugoi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:
Nicolas Capens <nicolascapens@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| GLESUnitTests | Loading commit data... | |
| MathUnitTests | Loading commit data... | |
| ReactorBenchmarks | Loading commit data... | |
| ReactorUnitTests | Loading commit data... | |
| SystemBenchmarks | Loading commit data... | |
| SystemUnitTests | Loading commit data... | |
| VulkanBenchmarks | Loading commit data... | |
| VulkanUnitTests | Loading commit data... | |
| VulkanWrapper | Loading commit data... | |
| check_build_files | Loading commit data... | |
| fuzzers | Loading commit data... | |
| kokoro | Loading commit data... | |
| regres | Loading commit data... | |
| scan_sources | Loading commit data... | |
| presubmit.sh | Loading commit data... | |
| rundroid.sh | Loading commit data... |