mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Create VL_DO_DANGLING. No functional change intended.
This commit is contained in:
@@ -248,5 +248,6 @@ void V3Stats::statsReport() {
|
||||
StatsReport reporter (ofp);
|
||||
|
||||
// Cleanup
|
||||
ofp->close(); delete ofp; VL_DANGLING(ofp);
|
||||
ofp->close();
|
||||
VL_DO_DANGLING(delete ofp, ofp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user