Internals: cppcheck fixes. No functional change. (#6687)

This commit is contained in:
Wilson Snyder
2025-11-12 18:54:22 -05:00
committed by GitHub
parent 67094f6a88
commit 5c0ad5bd1f
38 changed files with 122 additions and 111 deletions
+1 -1
View File
@@ -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");