"It shows me that the var is not initialized and locate the code like this :
int iLoopCnt = CS_MAX_DROP_TREA_COUNT < poUnit->GetItemCnt() ? CS_MAX_DROP_TREA_COUNT : poUnit->GetItemCnt();
ErrorMsg: variable 'iLoopCnt ' is not initialized .
"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"It shows me that the var is not initialized and locate the code like this :
int iLoopCnt = CS_MAX_DROP_TREA_COUNT < poUnit->GetItemCnt() ? CS_MAX_DROP_TREA_COUNT : poUnit->GetItemCnt();
ErrorMsg: variable 'iLoopCnt ' is not initialized .
"