Ethereal-dev: [Ethereal-dev] Some unused-{variable, function} warnings from GCC 3.3
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 10:45:30 -0700
3.3 appears to produce some warnings that earlier versions didn't;
here's a list of unused variables/functions complaints it produced.
At least some of these might reflect as-yet-unimplemented bits of dissection, in which case the correct fix isn't to get rid of the variable, the correct fix is to implement those bits of dissection. I'm inclined to leave those variables there as reminders of work to be done.
packet-afp.c:584: warning: `vol_bitmap_vals' defined but not used packet-aodv.c:93: warning: `exttype_vals' defined but not used packet-arp.c:655: warning: `mac_broadcast' defined but not used packet-beep.c:276: warning: `dissect_beep_status' defined but not usedpacket-brdwlk.c:102: warning: `brdwlk_frametype_vals' defined but not used
packet-brdwlk.c:106: warning: `brdwlk_error_vals' defined but not used packet-fclctl.h:57: warning: `fc_lctl_fbsy_val' defined but not usedpacket-fclctl.h:66: warning: `fc_lctl_pbsy_acode_val' defined but not used
packet-fclctl.h:77: warning: `fc_lctl_pbsy_rjt_val' defined but not usedpacket-fclctl.h:88: warning: `fc_lctl_rjt_acode_val' defined but not used
packet-fclctl.h:131: warning: `fc_lctl_rjt_val' defined but not used packet-fc.c:267: warning: `fc_wka_vals' defined but not used packet-fc.c:282: warning: `fc_iu_val' defined but not used packet-fcct.h:84: warning: `fc_ct_gstype_vals' defined but not used packet-fcct.h:93: warning: `fc_ct_gsserver_vals' defined but not usedpacket-fcswils.h:53: warning: `fc_swils_opcode_key_val' defined but not used
packet-fcswils.h:79: warning: `fc_swils_opcode_val' defined but not used packet-fcswils.h:116: warning: `fc_swils_rjt_val' defined but not usedpacket-fcswils.h:148: warning: `fc_swils_deterr_val' defined but not used
packet-fcswils.h:203: warning: `fcswils_elp_fc_val' defined but not usedpacket-fcswils.h:230: warning: `fcswils_rectype_val' defined but not used packet-fcswils.h:258: warning: `fc_swils_link_type_val' defined but not used packet-fcswils.h:282: warning: `fc_swils_fspf_linkrec_val' defined but not used packet-fcswils.h:288: warning: `fc_swils_fspf_lsrflags_val' defined but not used packet-fcswils.h:299: warning: `fc_swils_rscn_portstate_val' defined but not use
dpacket-fcswils.h:306: warning: `fc_swils_rscn_addrfmt_val' defined but not used packet-fcswils.h:313: warning: `fc_swils_rscn_detectfn_val' defined but not used packet-fcswils.h:319: warning: `fc_swils_esc_protocol_val' defined but not used packet-fcswils.h:330: warning: `fc_swils_zoneobj_type_val' defined but not used packet-fcswils.h:358: warning: `fc_swils_mr_rsp_val' defined but not used packet-fcswils.h:365: warning: `fc_swils_mr_reason_val' defined but not used packet-fcswils.h:380: warning: `fc_swils_sfc_op_val' defined but not used
packet-fcct.h:84: warning: `fc_ct_gstype_vals' defined but not used packet-fcct.h:93: warning: `fc_ct_gsserver_vals' defined but not used packet-fcct.h:84: warning: `fc_ct_gstype_vals' defined but not used packet-fcct.h:93: warning: `fc_ct_gsserver_vals' defined but not used packet-fcip.c:97: warning: `fcencap_proto_vals' defined but not used packet-fcip.c:102: warning: `fsf_conn_flag_vals' defined but not used packet-fclctl.h:40: warning: `fc_lctl_proto_val' defined but not used packet-fcswils.h:79: warning: `fc_swils_opcode_val' defined but not used packet-fix.c:36: warning: `message_types' defined but not used packet-giop.c:584: warning: `KeyAddr' defined but not used packet-giop.c:585: warning: `ProfileAddr' defined but not used packet-giop.c:586: warning: `ReferenceAddr' defined but not usedpacket-giop.c:717: warning: `giop_op_bind_new_context' defined but not used
packet-giop.c:718: warning: `giop_op_bind' defined but not used packet-gtp.c: In function `decode_gtp_ranap_cause': packet-gtp.c:1116: warning: `mm_sec_modep' defined but not used packet-gtp.c:1124: warning: `mm_proto_disc' defined but not used packet-gtp.c:1139: warning: `mm_rr_mess' defined but not used packet-gtp.c:1217: warning: `mm_mm_mess' defined but not used packet-gtp.c:1243: warning: `mm_cc_mess' defined but not used packet-gtp.c:1287: warning: `mm_gprs_mess' defined but not usedpacket-isakmp.c:304: warning: `VID_HeartBeat_Notify' defined but not used
packet-isis-snp.c:113: warning: `clv_l1_psnp_opts' defined but not used packet-isis-snp.c:137: warning: `clv_l2_psnp_opts' defined but not used packet-kerberos.c: In function `dissect_ap_options': packet-kerberos.c:577: warning: unused parameter `tvb' packet-kerberos.c:577: warning: unused parameter `offset'packet-kerberos.c:578: warning: `dissect_ap_options' defined but not used
packet-mip6.h:64: warning: `mip6_opt_types' defined but not used packet-wsp.h:46: warning: `vals_wsp_reason_codes' defined but not usedpacket-ncp2222.c:16942: warning: `ncp_nds_verb_vals' defined but not used
packet-pgm.c:86: warning: `PGM_SPM_SZ' defined but not used packet-pgm.c:102: warning: `PGM_DATA_HDR_SZ' defined but not used packet-pgm.c:114: warning: `PGM_NAK_SZ' defined but not used packet-pgm.c:134: warning: `PGM_POLL_SZ' defined but not used packet-pgm.c:151: warning: `PGM_POLR_SZ' defined but not used packet-pgm.c:162: warning: `PGM_ACK_SZ' defined but not used packet-pgm.c:220: warning: `PGM_OPT_INVALID' defined but not usedpacket-q2931.c:1004: warning: `q2931_cause_coding_standard_vals' defined but not
usedpacket-q2931.c:1100: warning: `q2931_rejection_reason_vals' defined but not used
packet-quake3.c: In function `dissect_quake3_ConnectionlessPacket': packet-quake3.c:152: warning: unused variable `maxbufsize'packet-quakeworld.c: In function `dissect_quakeworld_ConnectionlessPacket':
packet-quakeworld.c:363: warning: unused variable `maxbufsize' packet-rstat.c:99: warning: `rstat4_proc' defined but not used packet-rsync.c: In function `dissect_rsync_encap': packet-rsync.c:90: warning: unused parameter `desegment'packet-sccp.c:532: warning: `sccp_isni_mark_for_id_values' defined but not used
packet-sccp.c:537: warning: `sccp_isni_iri_values' defined but not used packet-sccp.c:546: warning: `sccp_isni_ti_values' defined but not used packet-scsi.c:453: warning: `scsi_logsns_pc_val' defined but not usedpacket-scsi.c:643: warning: `scsi_modesense_medtype_val' defined but not used
packet-scsi.c:701: warning: `scsi_inq_evpd_val' defined but not used packet-skinny.c:428: warning: `softKeyLabel' defined but not used packet-smb-browse.c:295: warning: `desire_flags' defined but not used packet-smb-browse.c:359: warning: `os_flags' defined but not used packet-smpp.c:557: warning: `vals_its_session_ind' defined but not used packet-sna.c:384: warning: `sna_rh_eri_truth' defined but not used packet-ssh.c:167: warning: `ssh_opcode_vals' defined but not usedpacket-ssl.c:315: warning: `ssl_31_change_cipher_spec' defined but not used packet-ssl.c:373: warning: `ssl_31_key_exchange_algorithm' defined but not used packet-ssl.c:379: warning: `ssl_31_signature_algorithm' defined but not used packet-ssl.c:394: warning: `ssl_31_public_value_encoding' defined but not used
packet-ucp.c:569: warning: `vals_parm_R_T' defined but not usedpacket-vines.c:1021: warning: `vines_rtp_compatibility_flags_vals' defined but n
ot usedpacket-wbxml.c:190: warning: `vals_wbxml10_global_tokens' defined but not used
packet-wsp.h:46: warning: `vals_wsp_reason_codes' defined but not used packet-x11.c:161: warning: `arc_mode_vals' defined but not used packet-zebra.c:138: warning: `families' defined but not used packet-zebra.c:150: warning: `errors' defined but not used packet-zebra.c:169: warning: `safis' defined but not used
- Follow-Ups:
- Prev by Date: Re: [Ethereal-dev] Stop capture trigger. RFC
- Next by Date: Re: [Ethereal-dev] Some unused-{variable, function} warnings from GCC 3.3
- Previous by thread: RE: RE : [Ethereal-dev] Help!!
- Next by thread: Re: [Ethereal-dev] Some unused-{variable, function} warnings from GCC 3.3
- Index(es):