From aa61a4b33e2dd5c0f4809dd23f4561bd225270f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Wed, 6 Jan 2016 10:48:19 +0100 Subject: Remove unused variables --- src/util.cpp | 1 - src/vhdldocgen.cpp | 1 - src/vhdljjparser.cpp | 3 --- vhdlparser/VhdlParser.cc | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index e502bbb..fdd39f9 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -4293,7 +4293,6 @@ bool getDefs(const QCString &scName, else { //printf("not a namespace\n"); - bool found=FALSE; MemberListIterator mmli(*mn); MemberDef *mmd; for (mmli.toFirst();(mmd=mmli.current());++mmli) diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index 5088475..2f3e51c 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -3926,7 +3926,6 @@ void FlowChart::printUmlTree() } qcs+="\n"; - QCString & outDir = Config_getString(OUTPUT_DIRECTORY); QCString & htmlOutDir = Config_getString(HTML_OUTPUT); QCString n=convertNameToFileName(); diff --git a/src/vhdljjparser.cpp b/src/vhdljjparser.cpp index c68ef36..fdba5e2 100644 --- a/src/vhdljjparser.cpp +++ b/src/vhdljjparser.cpp @@ -341,9 +341,6 @@ void VhdlParser::handleCommentBlock(const char* doc1,bool brief) bool needsEntry=FALSE; Protection protection=Public; - int lineNr; - if (iDocLine==-1) - lineNr=yyLineNr; if (oldEntry==current) { diff --git a/vhdlparser/VhdlParser.cc b/vhdlparser/VhdlParser.cc index d85d578..e8de782 100644 --- a/vhdlparser/VhdlParser.cc +++ b/vhdlparser/VhdlParser.cc @@ -5955,7 +5955,7 @@ assert(false); } -QCString VhdlParser::miscellaneous_operator() {Token *t=0; +QCString VhdlParser::miscellaneous_operator() { switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) { case DOUBLEMULT_T:{if (!hasError) { -- cgit v0.12