mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix compares to null, ongoing part of bug1030. No functional change intended.
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ void FileLine::modifyStateInherit(const FileLine* fromp) {
|
||||
}
|
||||
|
||||
void FileLine::v3errorEnd(ostringstream& str) {
|
||||
if (this && m_lineno) {
|
||||
if (m_lineno) {
|
||||
ostringstream nsstr;
|
||||
nsstr<<this<<str.str();
|
||||
if (warnIsOff(V3Error::errorCode())) V3Error::suppressThisWarning();
|
||||
|
||||
Reference in New Issue
Block a user