aboutsummaryrefslogtreecommitdiffstats
path: root/cgrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cgrep.cpp')
-rw-r--r--cgrep.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index a764ba9..c654617 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -327,7 +327,6 @@ public:
if (regex_handler(REGEX_PP(CO_REGEX), name)) {
ast_type_traits::DynTypedNode DNode =
ast_type_traits::DynTypedNode::create(*FD);
- NamedDecl const *ND = DNode.get<NamedDecl>();
auto StartLocation = FD->getLocation();
auto EndLocation = StartLocation.getLocWithOffset(name.size() - 1);
auto Range = SourceRange(StartLocation, EndLocation);