summaryrefslogtreecommitdiffstats
path: root/src/vhdljjparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-01-03 19:08:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-01-03 19:08:51 (GMT)
commitfcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764 (patch)
tree94d0c995b22ac3deebdeec838992be6c1e7b1f8c /src/vhdljjparser.cpp
parent70afeb96108b77cb68de746b3037cc775b00a45b (diff)
parentd03e4c2ae1864c6f27a4341449ce97133aeb6847 (diff)
downloadDoxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.zip
Doxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.tar.gz
Doxygen-fcc8e1f75c7c1a2ccb5ab6e42d3b6843589dc764.tar.bz2
Merge pull request #272 from albert-github/feature/bug_unused
Remove unused local and static global variables
Diffstat (limited to 'src/vhdljjparser.cpp')
-rw-r--r--src/vhdljjparser.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vhdljjparser.cpp b/src/vhdljjparser.cpp
index c3f8663..f3bfb62 100644
--- a/src/vhdljjparser.cpp
+++ b/src/vhdljjparser.cpp
@@ -437,7 +437,6 @@ void VhdlParser::addCompInst(const char *n, const char* instName, const char* co
void VhdlParser::addVhdlType(const char *n,int startLine,int section,
uint64 spec,const char* args,const char* type,Protection prot)
{
- static QRegExp reg("[\\s]");
QCString name(n);
if (isFuncProcProced() || VhdlDocGen::getFlowMember()) return;
@@ -540,7 +539,6 @@ void VhdlParser::pushLabel( QCString &label,QCString & val)
QCString VhdlParser::popLabel(QCString & q)
{
- QCString u=q;
int i=q.findRev("|");
if (i<0) return "";
q = q.left(i);
@@ -550,8 +548,7 @@ void VhdlParser::pushLabel( QCString &label,QCString & val)
void VhdlParser::addConfigureNode(const char* a,const char*b, bool,bool isLeaf,bool inlineConf)
{
VhdlConfNode* co=0;
- QCString ent,arch,lab;
- QCString l=genLabels;
+ QCString ent;
ent=a;
if (b)
@@ -606,7 +603,6 @@ void VhdlParser::addProto(const char *s1,const char *s2,const char *s3,
const char *s4,const char *s5,const char *s6)
{
(void)s5; // avoid unused warning
- static QRegExp reg("[\\s]");
QCString name=s2;
QStringList ql=QStringList::split(",",name,FALSE);