From 9ff3720021682961ca99a4745011a46752e2d664 Mon Sep 17 00:00:00 2001 From: RogerTaule Date: Tue, 2 Jul 2024 10:05:22 +0200 Subject: [PATCH] Minor fixes sonarcloud --- src/pil_info/codegen.js | 2 +- src/stark/chelpers/getParserArgs.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pil_info/codegen.js b/src/pil_info/codegen.js index 474dcc8..dd2437f 100644 --- a/src/pil_info/codegen.js +++ b/src/pil_info/codegen.js @@ -7,7 +7,7 @@ function pilCodeGen(ctx, expressions, expId, prime) { if (ctx.calculated[primeIdx][expId]) return; - calculateDeps(ctx, expressions, expressions[expId], prime, expId); + calculateDeps(ctx, expressions, expressions[expId], prime); const codeCtx = { pil: ctx.pil, diff --git a/src/stark/chelpers/getParserArgs.js b/src/stark/chelpers/getParserArgs.js index 5d69d39..d1e97ad 100644 --- a/src/stark/chelpers/getParserArgs.js +++ b/src/stark/chelpers/getParserArgs.js @@ -133,9 +133,6 @@ module.exports.getParserArgs = function getParserArgs(starkInfo, operations, cod } break; } - case "f": { - break; - } default: throw new Error("Invalid reference type set: " + r.dest.type); } }