Silence clang-tidy
Change-Id: I56abcad79d59164d2f7bf906fb34b0c8b4c03c13
This commit is contained in:
parent
570b234dea
commit
caef990788
|
@ -38,6 +38,10 @@ MockGmmResourceInfo::MockGmmResourceInfo(GMM_RESOURCE_INFO *inputGmmResourceInfo
|
||||||
// Simulate GMM behaviour. We dont want to test 3rd party lib
|
// Simulate GMM behaviour. We dont want to test 3rd party lib
|
||||||
void MockGmmResourceInfo::setupDefaultActions() {
|
void MockGmmResourceInfo::setupDefaultActions() {
|
||||||
setSurfaceFormat();
|
setSurfaceFormat();
|
||||||
|
if (surfaceFormatInfo == nullptr) {
|
||||||
|
ASSERT_TRUE(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
computeRowPitch();
|
computeRowPitch();
|
||||||
|
|
||||||
size = rowPitch;
|
size = rowPitch;
|
||||||
|
|
Loading…
Reference in New Issue