charmxi: Remove duplicate assignments
authorPhil Miller <mille121@illinois.edu>
Tue, 21 Feb 2012 06:01:55 +0000 (00:01 -0600)
committerPhil Miller <mille121@illinois.edu>
Tue, 21 Feb 2012 06:01:55 +0000 (00:01 -0600)
src/xlat-i/sdag/CEntry.C

index da2dc8a478db8a4e2c55ec393330f1151b2218a1..da04e5533d3acced6d48d79cd37e8e0bba63f257 100644 (file)
@@ -176,14 +176,12 @@ void CEntry::generateCode(XStr& op)
   if(whenList.length() == 1) {
     SdagConstruct *cn;
     cn = whenList.begin();
+
     whenParams = new XStr("");
     sv = (CStateVar *)cn->stateVars->begin();
     i = 0; iArgs = 0;
     lastWasVoid = 0;
-    sv = (CStateVar *)cn->stateVars->begin();
-    i = 0;
     paramMarshalling = 0;
-    lastWasVoid = 0;
 
 #if CMK_BIGSIM_CHARM
     op <<"    cmsgbuf->bgLog2 = (void*)tr->args[1];\n";