summaryrefslogtreecommitdiffstats
path: root/src/vhdldocgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-02-05 19:08:17 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-02-05 19:08:17 (GMT)
commit774ea08686e6fddd13dd905bee0b81c8833975da (patch)
treea437525a536345f17e44c516accffe173409666f /src/vhdldocgen.cpp
parent0e61eb42b00ccd3f02095af16fcd28ba0788bb31 (diff)
downloadDoxygen-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.cpp5
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);
}
}
}