warning: ISO C does not allow extra ; outside of a function
[obnox/wireshark/wip.git] / packet-dcerpc-rs_misc.c
index e7858ea9622451884262b6ddaebadbcf6306a0d4..7170b3374eebcf2c7f536c82001aa93fe8c091b1 100644 (file)
@@ -5,7 +5,7 @@
  * This information is based off the released idl files from opengroup.
  * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_misc.idl
  *      
- * $Id: packet-dcerpc-rs_misc.c,v 1.4 2003/06/26 04:30:29 tpot Exp $
+ * $Id: packet-dcerpc-rs_misc.c,v 1.6 2003/12/21 05:51:33 jmayer Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -87,7 +87,7 @@ rs_misc_dissect_login_get_info_rqst (tvbuff_t *tvb, int offset,
        }
 
        return offset;
-};
+}
 
 
 static dcerpc_sub_dissector rs_misc_dissectors[] = {
@@ -126,15 +126,6 @@ proto_register_rs_misc (void)
 void
 proto_reg_handoff_rs_misc (void)
 {
-       header_field_info *hf_info;
-
        /* Register the protocol as dcerpc */
        dcerpc_init_uuid (proto_rs_misc, ett_rs_misc, &uuid_rs_misc, ver_rs_misc, rs_misc_dissectors, hf_rs_misc_opnum);
-
-       /* Set opnum strings from subdissector list */
-
-       hf_info = proto_registrar_get_nth(hf_rs_misc_opnum);
-       hf_info->strings = value_string_from_subdissectors(
-               rs_misc_dissectors, array_length(rs_misc_dissectors));
-
 }