Silence clang-tidy

Change-Id: I56abcad79d59164d2f7bf906fb34b0c8b4c03c13
This commit is contained in:
kamdiedrich 2020-05-15 07:06:43 +02:00 committed by sys_ocldev
parent 570b234dea
commit caef990788
1 changed files with 4 additions and 0 deletions

View File

@ -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;