mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Fixing a bunch of format strings.
Also leveraging GCC if available to check format specificier. Closes #567.
This commit is contained in:
parent
d86525ce61
commit
63b46a0ae2
14 changed files with 38 additions and 31 deletions
|
@ -261,7 +261,7 @@ public:
|
|||
virtual ~CloneSerializer() { }
|
||||
|
||||
protected:
|
||||
virtual void ReportError(const char* msg) { reporter->Error(msg); }
|
||||
virtual void ReportError(const char* msg) { reporter->Error("%s", msg); }
|
||||
virtual void GotID(ID* id, Val* val) { }
|
||||
virtual void GotEvent(const char* name, double time,
|
||||
EventHandlerPtr event, val_list* args) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue