sdag: Delete another dead variable, with a leak as well
[charm.git] / src / xlat-i / sdag / CSdagConstruct.C
index 144c6067361d5e3999b1e65e9e99c96ab0e58722..0789594027afefc03a1bbf9d7be59c5fa6e17687 100644 (file)
@@ -337,9 +337,7 @@ void SdagConstruct::propagateState(int uniqueVarNum)
 void SdagConstruct::propagateState(TList<CStateVar*>& list, TList<CStateVar*>& wlist, TList<SdagConstruct*>& publist, int uniqueVarNum)
 {
   CStateVar *sv;
-  TList <CStateVar*> *olistTempStateVars;
   TList<CStateVar*> *whensEntryMethodStateVars; 
-  olistTempStateVars = new TList<CStateVar*>();
   stateVars = new TList<CStateVar*>();
   switch(type) {
     case SFORALL: