SWDEV-543370 - Initialize variable to fix compiler errors (#431)

[ROCm/hip-tests commit: b1b4968318]
Этот коммит содержится в:
Dittakavi, Satyanvesh
2025-07-21 13:57:28 +05:30
коммит произвёл GitHub
родитель 4b41394fe6
Коммит b6abf13325
+1 -1
Просмотреть файл
@@ -372,7 +372,7 @@ static bool NoGpuTst_hipPointerGetAttributes() {
bool passed = false;
hipError_t err;
hipPointerAttribute_t attributes = {};
char* A_d;
char* A_d = nullptr;
err = hipPointerGetAttributes(&attributes, A_d);
if (err == hipErrorNoDevice) {
passed = true;