Skip to content

Commit

Permalink
issue #6830 Message: graph_legend:39: error: Prevented to copy file <…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
albert-github committed Feb 10, 2019
1 parent 5f0416d commit 8531afb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/docparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 8531afb

Please sign in to comment.