From 134538c78f1469c96d8ea6fef88f3457ec3b4af8 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Mon, 14 Sep 2026 21:55:07 +0200 Subject: Change variable case --- removeFunctionCall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'removeFunctionCall.cpp') diff --git a/removeFunctionCall.cpp b/removeFunctionCall.cpp index aca9adb..1270603 100644 --- a/removeFunctionCall.cpp +++ b/removeFunctionCall.cpp @@ -132,8 +132,8 @@ int main(int argc, // hasArgument(0, expr(hasType(pointerType())).bind(ArgId))), // changeTo(node(ArgId), transformer::maybeDeref(ArgId))); - auto functionToRemove = functionDecl(matchesName("configValue")); - auto Rule = makeRule(callExpr(hasArgument(0, expr().bind("keyName")), callee(functionToRemove)), + auto FunctionToRemove = functionDecl(matchesName("configValue")); + auto Rule = makeRule(callExpr(hasArgument(0, expr().bind("keyName")), callee(FunctionToRemove)), changeTo(cat("true"))); AtomicChanges AllChanges; -- cgit v1.2.3