summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp2
1 files changed, 0 insertions, 2 deletions
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(")");