summaryrefslogtreecommitdiffstats
path: root/src/doxygen.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/doxygen.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/doxygen.cpp')
-rw-r--r--src/doxygen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index b1b7c08..30ee02b 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -2458,7 +2458,6 @@ static MemberDef *addVariableToFile(
// see if the function is inside a namespace
NamespaceDef *nd = 0;
- QCString nscope;
if (!scope.isEmpty())
{
if (scope.find('@')!=-1) return 0; // anonymous scope!
@@ -5493,7 +5492,6 @@ static bool findGlobalMember(EntryNav *rootNav,
{
Debug::print(Debug::FindMembers,0,"4. Try to add member `%s' to scope `%s'\n",
md->name().data(),namespaceName.data());
- QCString nsName = nd ? nd->name().data() : "";
NamespaceDef *rnd = 0;
if (!namespaceName.isEmpty()) rnd = Doxygen::namespaceSDict->find(namespaceName);