diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2021-02-05 19:08:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2021-02-05 19:08:17 (GMT) |
commit | 774ea08686e6fddd13dd905bee0b81c8833975da (patch) | |
tree | a437525a536345f17e44c516accffe173409666f /src/vhdldocgen.cpp | |
parent | 0e61eb42b00ccd3f02095af16fcd28ba0788bb31 (diff) | |
download | Doxygen-774ea08686e6fddd13dd905bee0b81c8833975da.zip Doxygen-774ea08686e6fddd13dd905bee0b81c8833975da.tar.gz Doxygen-774ea08686e6fddd13dd905bee0b81c8833975da.tar.bz2 |
Fixed a couple of issues found by running Coverity
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r-- | src/vhdldocgen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index ce1224f..299ae26 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -3046,8 +3046,9 @@ void FlowChart::colTextNodes() const FlowChart &ftemp = flowList[j+1]; if (ftemp.type & EMPTY) { - flowList.insert(flowList.begin()+j+1,FlowChart(TEXT_NO,"empty ",0)); - flowList[j+1].stamp = flo.stamp; + FlowChart fc(TEXT_NO,"empty ",0); + fc.stamp = flo.stamp; + flowList.insert(flowList.begin()+j+1,fc); } } } |