Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-wmx.c:856

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

proto_register_wimax

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/wimax/packet-wmx.c)expand/collapse
Show more  
 806  void proto_register_wimax(void)
 807  {
 808          module_t *wimax_module;
 809   
 810          if (proto_wimax == -1)
 811          {
 812                  /* Register the WiMax protocols here */
 813                  proto_wimax = proto_register_protocol (
 814                                                          "WiMax Protocol", /* name */
 815                                                          "WiMax (wmx)", /* short name */
 816                                                          "wmx" /* abbrev */
 817                                                          );
 818                  /* Register the WiMax protocol subtree array */
 819                  proto_register_subtree_array(ett, array_length(ett));
 820                  /* Register the WiMax dissector */
 821                  register_dissector("wmx", dissect_wimax, proto_wimax);
 822   
 823                  /* Register other WiMax dissectors */
 824                  proto_register_wimax_cdma();
 825                  proto_register_wimax_fch();
 826                  proto_register_wimax_pdu();
 827                  proto_register_wimax_ffb();
 828                  proto_register_wimax_hack();
 829                  proto_register_wimax_harq_map();
 830                  proto_register_wimax_phy_attributes();
 831                  proto_register_wimax_compact_dlmap_ie();
 832                  proto_register_wimax_compact_ulmap_ie();
 833   
 834                  wimax_module = prefs_register_protocol(proto_wimax, proto_reg_handoff_wimax);
 835   
 836                  prefs_register_uint_preference(wimax_module, "basic_cid_max",
 837                                   "Maximum Basic CID",
 838                                   "Set the maximum Basic CID"
 839                                   " used in the Wimax decoder"
 840                                   " (if other than the default of 320)."
 841                                   "  Note: The maximum Primary CID is"
 842                                   " double the maximum Basic CID.",
 843                                  10, &global_cid_max_basic);
 844   
 845                  prefs_register_bool_preference(wimax_module, "corrigendum_2_version",
 846                                   "Corrigendum 2 Version",
 847                                   "Set to TRUE to use the Corrigendum"
 848                                   " 2 version of Wimax message decoding."
 849                                   " Set to FALSE to use the 802.16e-2005"
 850                                   "  version.",
 851                                  &include_cor2_changes);
 852                  prefs_register_obsolete_preference(wimax_module, "wimax.basic_cid_max");
 853                  prefs_register_obsolete_preference(wimax_module, "wimax.corrigendum_2_version");
 854   
 855                  register_dissector_table("wimax.max_basic_cid", "Max Basic CID", FT_UINT16, BASE_DEC);
 856                  register_dissector_table("wimax.corrigendum_2_version", "Corrigendum 2 Version", FT_UINT16, BASE_DEC);
 857                  proto_register_subtree_array(ett_tlv, array_length(ett_tlv));
 858          }
 859  }
Show more  




Change Warning 5447.35670 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: