mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Remove unused and unnecessary "declare enum" from bifcl
This commit is contained in:
parent
a12e711888
commit
43a84866a0
5 changed files with 2 additions and 21 deletions
|
@ -24,7 +24,6 @@ static struct {
|
|||
};
|
||||
|
||||
extern const char* arg_list_name;
|
||||
extern set<string> enum_types;
|
||||
|
||||
BuiltinFuncArg::BuiltinFuncArg(const char* arg_name, int arg_type)
|
||||
{
|
||||
|
@ -45,9 +44,6 @@ BuiltinFuncArg::BuiltinFuncArg(const char* arg_name, const char* arg_type_str)
|
|||
type = i;
|
||||
type_str = "";
|
||||
}
|
||||
|
||||
if ( enum_types.find(type_str) != enum_types.end() )
|
||||
type = TYPE_ENUM;
|
||||
}
|
||||
|
||||
void BuiltinFuncArg::PrintBro(FILE* fp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue