mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Initialize fixture member to avoid undefined behaviour
Change-Id: I347d2becd5270acc596e2d2d0f23253d0f3d7791 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
ba14f9dc1f
commit
f0011843ee
@ -108,7 +108,7 @@ class ImageSetArgTest : public ClDeviceFixture,
|
||||
std::unique_ptr<MockProgram> program;
|
||||
MockKernel *pKernel = nullptr;
|
||||
std::unique_ptr<KernelInfo> pKernelInfo;
|
||||
char surfaceStateHeap[0x80];
|
||||
char surfaceStateHeap[0x80] = {};
|
||||
Image *srcImage = nullptr;
|
||||
GraphicsAllocation *srcAllocation = nullptr;
|
||||
int expectedChannelRed;
|
||||
|
Reference in New Issue
Block a user