Skip to content

Commit 9cecdfb

Browse files
committed
cleanup unused code.
1 parent caf6f7a commit 9cecdfb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/slang/emit.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -6308,7 +6308,6 @@ emitDeclImpl(decl, nullptr);
63086308

63096309
emit("(");
63106310
auto firstParam = func->getFirstParam();
6311-
int pIdx = 0;
63126311
for( auto pp = firstParam; pp; pp = pp->getNextParam() )
63136312
{
63146313
if(pp != firstParam)
@@ -6336,7 +6335,6 @@ emitDeclImpl(decl, nullptr);
63366335
emitIRParamType(ctx, paramType, paramName);
63376336

63386337
emitIRSemantics(ctx, pp);
6339-
pIdx++;
63406338
}
63416339
emit(")");
63426340

0 commit comments

Comments
 (0)