summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-02-10 14:53:22 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-02-10 14:53:22 (GMT)
commit8531afb305a98eab8b8c67dc4e72375cbc1f7e15 (patch)
treee1777b93e3cc37bbe9febbb6fbf04bf43b848b62 /src/docparser.cpp
parent5f0416dd45ed3eb516ee5c90b2e7cfcba0f39ec7 (diff)
downloadDoxygen-8531afb305a98eab8b8c67dc4e72375cbc1f7e15.zip
Doxygen-8531afb305a98eab8b8c67dc4e72375cbc1f7e15.tar.gz
Doxygen-8531afb305a98eab8b8c67dc4e72375cbc1f7e15.tar.bz2
issue #6830 Message: graph_legend:39: error: Prevented to copy file <path_to_html_output>/graph_legend.png onto itself!
In version 1.8.14 the message "Source and Destination are the same!" was given, this message could not be suppressed as can be done with normal warnings, this was corrected in 1.8.15 but backfires in case `WARN_AS_ERROR` is set. The problem only occurs when the output directory is searched for images. Removed the message as it does not contain real information.
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 4b1ce94..bcf4bac 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -335,11 +335,11 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type, bool
"could not write output image %s",qPrint(outputFile));
}
}
- else
- {
- warn(g_fileName,doctokenizerYYlineno,
- "Prevented to copy file %s onto itself!\n",qPrint(inputFile));
- }
+ //else
+ //{
+ // warn(g_fileName,doctokenizerYYlineno,
+ // "Prevented to copy file %s onto itself!\n",qPrint(inputFile));
+ //}
}
else
{