mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
SQLite writer: Remove unused string formatting function.
This commit is contained in:
parent
697b59cdc8
commit
bd4c32460b
2 changed files with 0 additions and 16 deletions
|
@ -232,21 +232,6 @@ bool SQLite::DoInit(const WriterInfo& info, int arg_num_fields,
|
|||
return true;
|
||||
}
|
||||
|
||||
// Format String
|
||||
char* SQLite::FS(const char* format, ...)
|
||||
{
|
||||
char* buf;
|
||||
|
||||
va_list al;
|
||||
va_start(al, format);
|
||||
int n = vasprintf(&buf, format, al);
|
||||
va_end(al);
|
||||
|
||||
assert(n >= 0);
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
||||
int SQLite::AddParams(Value* val, int pos)
|
||||
{
|
||||
if ( ! val->present )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue