summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-02 11:30:14 (GMT)
committerGitHub <noreply@github.com>2020-07-02 11:30:14 (GMT)
commitcfda7da009ca4ca094946ac090bc493f8ac43351 (patch)
tree4bcae69be2673736567c88a04da0e5cf591217ec
parented51b6403910463192c05677a0bcc4e57bc84736 (diff)
parentbfe44c22752c443d1e74923137c065f901134478 (diff)
downloadDoxygen-cfda7da009ca4ca094946ac090bc493f8ac43351.zip
Doxygen-cfda7da009ca4ca094946ac090bc493f8ac43351.tar.gz
Doxygen-cfda7da009ca4ca094946ac090bc493f8ac43351.tar.bz2
Merge pull request #7885 from albert-github/feature/bug_warn_uninitialized
Misleading compiler warning
-rw-r--r--src/vhdldocgen.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index ff96331..28a2028 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -3174,20 +3174,18 @@ void FlowChart::printFlowTree()
void FlowChart::colTextNodes()
{
- QCString text;
- FlowChart *flno;
+ FlowChart *flno = NULL;
bool found=FALSE;
for (uint j=0;j<flowList.count();j++)
{
FlowChart *flo=flowList.at(j);
if (flo->type&TEXT_NO)
{
- text+=flo->text+'\n';
if (!found)
{
flno=flo;
}
- if (found)
+ else
{
flno->text+=flo->text;
flowList.remove(flo);