diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-09-13 20:27:05 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-09-13 20:27:05 +0000 |
commit | 168f8923e7a42133e164be546a2e58e65c0ffff2 (patch) | |
tree | 47c890f64997a3a8eb58563595d8838732e9d1a6 /asn1 | |
parent | 0254fe13d9cbb58f8553fcf8745fd51cce228494 (diff) |
eliminate an anonymous enum.
svn path=/trunk/; revision=22868
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index 2ff8ba7066..bcdf5d09b1 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -391,7 +391,8 @@ extern int dissect_snmp_VarBind(gboolean implicit_tag _U_, int min_len = 0, max_len = 0; gboolean oid_info_is_ok; const char* oid_string = NULL; - enum { NO_ERROR, WRONG_LENGTH, WRONG_TAG} format_error = NO_ERROR; + enum _error_state { NO_ERROR, WRONG_LENGTH, WRONG_TAG}; + enum _error_state format_error = NO_ERROR; seq_offset = offset; |