mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Initialize stack variables.
Change-Id: Ic11d54c540a9fa7fa3489a0858cbd9371e586a94
This commit is contained in:

committed by
sys_ocldev

parent
b85c3f52ce
commit
b0afceabaf
@ -435,7 +435,7 @@ void Program::updateNonUniformFlag() {
|
||||
programOptionVersion = 12u; //Default is 1.2
|
||||
} else {
|
||||
std::stringstream ss{options.c_str() + pos + clOptNameClVer.size()};
|
||||
uint32_t majorV, minorV;
|
||||
uint32_t majorV = 0u, minorV = 0u;
|
||||
char dot = 0u;
|
||||
ss >> majorV;
|
||||
ss >> dot;
|
||||
|
Reference in New Issue
Block a user