summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 0e2c5e6..9fe7bba 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6745,6 +6745,7 @@ PageDef *addRelatedPage(const char *name,const QCString &ptitle,
const QList<ListItemInfo> *sli,
GroupDef *gd,
TagInfo *tagInfo,
+ bool xref,
SrcLangExt lang
)
{
@@ -6752,7 +6753,7 @@ PageDef *addRelatedPage(const char *name,const QCString &ptitle,
//printf("addRelatedPage(name=%s gd=%p)\n",name,gd);
if ((pd=Doxygen::pageSDict->find(name)) && !tagInfo)
{
- warn(fileName,startLine,"multiple use of page label '%s', (other occurrence: %s, line: %d)",
+ if (!xref) warn(fileName,startLine,"multiple use of page label '%s', (other occurrence: %s, line: %d)",
name,pd->docFile().data(),pd->docLine());
// append documentation block to the page.
pd->setDocumentation(doc,fileName,startLine);