From 9cecdfbb00c0174a9cbfc721149acf2e0b4ecd3c Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 17 Jan 2018 20:58:00 -0500 Subject: cleanup unused code. --- source/slang/emit.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'source') diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp index 18a10460f..53f02cc56 100644 --- a/source/slang/emit.cpp +++ b/source/slang/emit.cpp @@ -6308,7 +6308,6 @@ emitDeclImpl(decl, nullptr); emit("("); auto firstParam = func->getFirstParam(); - int pIdx = 0; for( auto pp = firstParam; pp; pp = pp->getNextParam() ) { if(pp != firstParam) @@ -6336,7 +6335,6 @@ emitDeclImpl(decl, nullptr); emitIRParamType(ctx, paramType, paramName); emitIRSemantics(ctx, pp); - pIdx++; } emit(")"); -- cgit v1.2.3