summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:35:18 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:35:18 (GMT)
commit79bf453de665e12ad859d8e24ddbec7ffbdb8e24 (patch)
tree67d769a18bd88b3e568049ab61b14c44926c4e9c /src
parentf18128845407f8612668950e112c2d5c3e0ff5be (diff)
downloadDoxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.zip
Doxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.tar.gz
Doxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.tar.bz2
mods for doxygen-0.49-990901
Diffstat (limited to 'src')
-rw-r--r--src/declinfo.l2
-rw-r--r--src/pre.l2
-rw-r--r--src/util.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/declinfo.l b/src/declinfo.l
index 3737a67..df5c2ea 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -224,7 +224,7 @@ void parseFuncDecl(const QCString &decl,QCString &cl,QCString &ctl,QCString &t,
cl=scope.copy();
//printf("scope=`%s'\n",scope.data());
- int il,ir;
+ int il=0,ir=0;
if ((il=cl.find('<'))!=-1 && (ir=cl.findRev('>'))!=-1) // split up scope and template arguments
{
ctl=removeRedundantWhiteSpace(cl.mid(il,ir-il+1));
diff --git a/src/pre.l b/src/pre.l
index be80487..360e250 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -885,7 +885,7 @@ BN [ \t\r\n]
}
*/
<CopyLine>{ID}/{BN}*"(" {
- Define *def;
+ Define *def=0;
//printf("Search for define %s\n",yytext);
if (includeStack.isEmpty() &&
Config::macroExpansionFlag &&
diff --git a/src/util.cpp b/src/util.cpp
index d8a4772..167ba3f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -43,7 +43,7 @@ bool isId(char c)
QCString stripAnnonymousScope(const QCString &s)
{
QCString result=s;
- int i;
+ int i=0;
while (!result.isEmpty() && result.at(0)=='@' && (i=result.find("::"))!=-1)
{
result=result.right(result.length()-i-2);
@@ -1058,7 +1058,7 @@ bool getDefs(const QCString &scName,const QCString &memberName,
//printf("Search for name=%s args=%s in scope=%s\n",
// memberName.data(),args,scopeName.data());
- int is,im,pm=0;
+ int is,im=0,pm=0;
// strip common part of the scope from the scopeName
while ((is=scopeName.findRev("::"))!=-1 &&
(im=memberName.find("::",pm))!=-1 &&
@@ -1745,7 +1745,7 @@ void setFileNameForSections(QList<QCString> *anchorList,const char *fileName)
QCString *s=anchorList->first();
while (s)
{
- SectionInfo *si;
+ SectionInfo *si=0;
if (!s->isEmpty() && (si=sectionDict[*s])) si->fileName=fileName;
s=anchorList->next();
}