Fix GCC 4.7.0 compile warnings, bug530.

This commit is contained in:
Wilson Snyder
2012-07-15 12:27:36 -04:00
parent 3e5067feb1
commit 96155365b2
5 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -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,