SWDEV-273235 - Fix Windows runtime error

Variables passed by reference need to be initialized beforehand.

Change-Id: Ic29e3b7f6e04ef5bb153a2e6bd81419e1955935b


[ROCm/clr commit: 73b833a741]
This commit is contained in:
Vladislav Sytchenko committed 2021-05-14 15:03:10 -04:00
1 parent 6775f980a9
commit 83bd216941
1 file changed
+3 -3
+3 -3
View File
@@ -412,9 +412,9 @@ bool Program::compileToLLVMBitcode(const amd_comgr_data_set_t compileInputs,
}
// Create the output data set
amd_comgr_action_info_t action;
amd_comgr_data_set_t output;
amd_comgr_data_set_t dataSetPCH;
amd_comgr_action_info_t action{};
amd_comgr_data_set_t output{};
amd_comgr_data_set_t dataSetPCH{};
amd_comgr_data_set_t input = compileInputs ;
bool hasAction = false;