diff --git a/src/Type.cc b/src/Type.cc index 6b8dc9a78c..ce3bbc52af 100644 --- a/src/Type.cc +++ b/src/Type.cc @@ -1113,7 +1113,6 @@ void EnumType::AddName(const string& module_name, const char* name, bool is_expo void EnumType::AddName(const string& module_name, const char* name, bro_int_t val, bool is_export) { /* explicit value specified */ - error_t rv; if ( counter > 0 ) { error("cannot mix explicit enumerator assignment and implicit auto-increment");