summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
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/util.cpp
parentf18128845407f8612668950e112c2d5c3e0ff5be (diff)
downloadDoxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.zip
Doxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.tar.gz
Doxygen-79bf453de665e12ad859d8e24ddbec7ffbdb8e24.tar.bz2
mods for doxygen-0.49-990901
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}