Corrected switch-case flow.

Coverity 1184.

svn path=/trunk/; revision=36579
This commit is contained in:
Stig Bjørlykke 2011-04-12 09:05:43 +00:00
parent bbcb51276a
commit 42f41ddf0b
2 changed files with 2 additions and 2 deletions

View File

@ -692,11 +692,11 @@ show_oid_index:
case OID_KEY_TYPE_IPADDR: {
guint32* ipv4_p = (void*)buf;
proto_tree_add_ipv4(pt_name,k->hfid,tvb,name_offset,buf_len, *ipv4_p);
}
break;
default:
DISSECTOR_ASSERT_NOT_REACHED();
break;
}
}
key_start += buf_len;

View File

@ -794,11 +794,11 @@ show_oid_index:
case OID_KEY_TYPE_IPADDR: {
guint32* ipv4_p = (void*)buf;
proto_tree_add_ipv4(pt_name,k->hfid,tvb,name_offset,buf_len, *ipv4_p);
}
break;
default:
DISSECTOR_ASSERT_NOT_REACHED();
break;
}
}
key_start += buf_len;