summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-09-14 21:55:07 +0200
committerAotrix <[email protected]>2026-09-14 21:55:07 +0200
commit134538c78f1469c96d8ea6fef88f3457ec3b4af8 (patch)
tree8c6acdafd2aad9834a93cb49bfcf5de980b539a1
parent0c85860aba3cc223318003bded81ec183d0c1e22 (diff)
Change variable case
-rw-r--r--removeFunctionCall.cpp4
1 files changed, 2 insertions, 2 deletions
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;