diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-17 20:58:00 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2018-01-17 20:58:00 -0500 |
| commit | 9cecdfbb00c0174a9cbfc721149acf2e0b4ecd3c (patch) | |
| tree | 550af04c7af22119dd01a9ae621062d46b78711b /source | |
| parent | caf6f7a03793be3fc74683994414776f3604ad8a (diff) | |
cleanup unused code.
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/emit.cpp | 2 |
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(")"); |
