summaryrefslogtreecommitdiffstats
path: root/src/pycode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-02-25 15:18:56 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-02-25 15:18:56 (GMT)
commitcff8111ed33af6033bd188868964d92ea3503188 (patch)
tree2a7451abfd771d43ea2b3ac2443d94c3eb5cfee7 /src/pycode.l
parent34d4ace6d4037862b6d280f1d7534292c714bf59 (diff)
downloadDoxygen-cff8111ed33af6033bd188868964d92ea3503188.zip
Doxygen-cff8111ed33af6033bd188868964d92ea3503188.tar.gz
Doxygen-cff8111ed33af6033bd188868964d92ea3503188.tar.bz2
Release-1.8.0
Diffstat (limited to 'src/pycode.l')
-rw-r--r--src/pycode.l13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/pycode.l b/src/pycode.l
index 6ddf2e0..e24c8f9 100644
--- a/src/pycode.l
+++ b/src/pycode.l
@@ -576,7 +576,7 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,char *clName,
ClassDef *cd=0,*lcd=0; /** Class def that we may find */
MemberDef *md=0; /** Member def that we may find */
- bool isLocal=FALSE;
+ //bool isLocal=FALSE;
if ((lcd=g_theVarContext.findVariable(className))==0) // not a local variable
{
@@ -611,7 +611,7 @@ static void generateClassOrGlobalLink(CodeOutputInterface &ol,char *clName,
{
g_theCallContext.setClass(lcd);
}
- isLocal=TRUE;
+ //isLocal=TRUE;
//fprintf(stderr,"is a local variable cd=%p!\n",cd);
}
@@ -1426,19 +1426,14 @@ static void adjustScopesAndSuites(unsigned indentLength)
}
}
-void parsePythonCode(CodeOutputInterface &od,const char *className,
+void parsePythonCode(CodeOutputInterface &od,const char * /*className*/,
const QCString &s,bool exBlock, const char *exName,
- FileDef *fd,int startLine,int endLine,bool inlineFragment,
+ FileDef *fd,int startLine,int endLine,bool /*inlineFragment*/,
MemberDef *,bool)
{
//printf("***parseCode()\n");
- //--- some code to eliminate warnings---
- className = "";
- exBlock = FALSE;
- exName = "";
- inlineFragment = "";
//--------------------------------------
if (s.isEmpty()) return;
g_code = &od;