From 8d3dad510f6aea4e147b30324b48028868f1ad1b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 2 Feb 2020 06:52:28 -0500 Subject: [PATCH] Fix unused variable. --- src/V3CUse.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/V3CUse.cpp b/src/V3CUse.cpp index e19a77d24..72ed029ac 100644 --- a/src/V3CUse.cpp +++ b/src/V3CUse.cpp @@ -83,8 +83,7 @@ class CUseVisitor : public AstNVisitor { for (AstNode* itemp = nodep->stmtsp(); itemp; itemp = itemp->nextp()) { if (AstCell* cellp = VN_CAST(itemp, Cell)) { // Currently no include because we include __Syms which has them all - AstCUse* usep - = m_state.newUse(nodep, VUseType::INT_FWD_CLASS, cellp->modp()->name()); + m_state.newUse(nodep, VUseType::INT_FWD_CLASS, cellp->modp()->name()); } } }