diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-02 11:30:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 11:30:14 (GMT) |
commit | cfda7da009ca4ca094946ac090bc493f8ac43351 (patch) | |
tree | 4bcae69be2673736567c88a04da0e5cf591217ec | |
parent | ed51b6403910463192c05677a0bcc4e57bc84736 (diff) | |
parent | bfe44c22752c443d1e74923137c065f901134478 (diff) | |
download | Doxygen-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.cpp | 6 |
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); |