Internals: Fix clang warning (earlier commits)

This commit is contained in:
Wilson Snyder
2026-08-21 17:03:10 -04:00
parent 8844593abb
commit cccf7ef1b3
+1 -1
View File
@@ -697,7 +697,7 @@ void connectPort(AstNodeModule* modp, AstVar* nodep, AstNodeExpr* pinExprp) {
};
const auto pinRefAsExpr = [&](VAccess access) -> AstNodeExpr* {
if (const AstVarRef* const vrp = VN_CAST(pinRefp, VarRef)) {
if (VN_IS(pinRefp, VarRef)) {
return pinRefAsVarRef(access);
} else {
const AstVarXRef* const xrp = VN_AS(pinRefp, VarXRef);