mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove STMT_ANY statement type
This commit is contained in:
parent
e2b03681d1
commit
1d4bd2c70a
2 changed files with 0 additions and 7 deletions
|
@ -54,12 +54,6 @@ const char* stmt_name(StmtTag t) {
|
||||||
"std-function",
|
"std-function",
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
if ( int(t) == STMT_ANY )
|
|
||||||
return "any";
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
|
|
||||||
return stmt_names[int(t)];
|
return stmt_names[int(t)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ namespace zeek::detail {
|
||||||
|
|
||||||
// These are in a separate file to break circular dependences
|
// These are in a separate file to break circular dependences
|
||||||
enum StmtTag {
|
enum StmtTag {
|
||||||
STMT_ANY [[deprecated("Remove in v7.1 - Unused and plugins should use STMT_EXTERN.")]] = -1,
|
|
||||||
STMT_ALARM, // Does no longer exist but kept to create enums consistent.
|
STMT_ALARM, // Does no longer exist but kept to create enums consistent.
|
||||||
STMT_PRINT,
|
STMT_PRINT,
|
||||||
STMT_EVENT,
|
STMT_EVENT,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue