mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/compiler-warnings'
* origin/topic/jsiwek/compiler-warnings: Fixing compiler warnings (addresses #388)
This commit is contained in:
commit
3b1f13b861
17 changed files with 82 additions and 75 deletions
|
@ -19,7 +19,7 @@ SerialObj* SerialObj::Instantiate(SerialType type)
|
|||
return o;
|
||||
}
|
||||
|
||||
reporter->Error(fmt("Unknown object type 0x%08x", type));
|
||||
reporter->Error("Unknown object type 0x%08x", type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ const char* SerialObj::ClassName(SerialType type)
|
|||
if ( f != names->end() )
|
||||
return f->second;
|
||||
|
||||
reporter->Error(fmt("Unknown object type 0x%08x", type));
|
||||
reporter->Error("Unknown object type 0x%08x", type);
|
||||
return "<no-class-name>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue