diff --git a/projects/hip-tests/catch/unit/memory/hipMemVmm.cc b/projects/hip-tests/catch/unit/memory/hipMemVmm.cc index 92041ddb05..1c1fcb025b 100644 --- a/projects/hip-tests/catch/unit/memory/hipMemVmm.cc +++ b/projects/hip-tests/catch/unit/memory/hipMemVmm.cc @@ -50,7 +50,7 @@ TEST_CASE("Unit_hipMemVmm_Basic") { size_t granularity = 0; - hipMemAllocationProp memAllocationProp; + hipMemAllocationProp memAllocationProp{}; memAllocationProp.type = hipMemAllocationTypePinned; memAllocationProp.location.id = 0; memAllocationProp.location.type = hipMemLocationTypeDevice; @@ -110,7 +110,7 @@ TEST_CASE("Unit_hipMemVmm_Uncached") { size_t granularity = 0; - hipMemAllocationProp memAllocationProp; + hipMemAllocationProp memAllocationProp{}; memAllocationProp.type = hipMemAllocationTypeUncached; memAllocationProp.location.id = 0; memAllocationProp.location.type = hipMemLocationTypeDevice;