mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix GCC 4.7.0 compile warnings, bug530.
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ string V3PreProcImp::defParams(const string& name) {
|
||||
}
|
||||
FileLine* V3PreProcImp::defFileline(const string& name) {
|
||||
DefinesMap::iterator iter = m_defines.find(name);
|
||||
if (iter == m_defines.end()) return false;
|
||||
if (iter == m_defines.end()) return NULL;
|
||||
return iter->second.fileline();
|
||||
}
|
||||
void V3PreProcImp::define(FileLine* fl, const string& name, const string& value,
|
||||
|
||||
Reference in New Issue
Block a user