SWDEV-273235 - Fix Windows runtime error

Variables passed by reference need to be initialized beforehand.

Change-Id: Ic29e3b7f6e04ef5bb153a2e6bd81419e1955935b
Этот коммит содержится в:
Vladislav Sytchenko
2021-05-14 15:00:53 -04:00
родитель a2f6bf8522
Коммит 73b833a741
+3 -3
Просмотреть файл
@@ -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;