mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 03:33:58 +02:00
Internals: cppcheck fixes. No functional change. (#6687)
This commit is contained in:
+1
-1
@@ -748,7 +748,7 @@ static bool verilate(const string& argString) {
|
||||
|
||||
V3Error::abortIfWarnings();
|
||||
|
||||
if (V3HierGraph* const hierGraphp
|
||||
if (const V3HierGraph* const hierGraphp
|
||||
= v3Global.hierGraphp()) { // This run is for just write a makefile
|
||||
UASSERT(v3Global.opt.hierarchical(), "hierarchical must be set");
|
||||
UASSERT(!v3Global.opt.hierChild(), "This must not be a hierarchical-child run");
|
||||
|
||||
Reference in New Issue
Block a user