sdag: Delete another dead variable, with a leak as well
authorPhil Miller <mille121@illinois.edu>
Sun, 14 Aug 2011 21:46:33 +0000 (14:46 -0700)
committerPhil Miller <mille121@illinois.edu>
Wed, 17 Aug 2011 05:37:18 +0000 (22:37 -0700)
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: