summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;