Wireshark-bugs: [Wireshark-bugs] [Bug 9472] ANSI IS-637 SMS enhancements for CMAS (TIA-1149) and

Date: Sat, 21 Dec 2013 20:30:07 +0000

Comment # 12 on bug 9472 from
Moreover the patch does not compile on Linux:

packet-ansi_637.c: In function 'text_decoder':
packet-ansi_637.c:472:17: error: variable 'saved_offset' set but not used
[-Werror=unused-but-set-variable]
     guint32     saved_offset;
                 ^
packet-ansi_637.c: In function 'tele_param_user_data_cmas':
packet-ansi_637.c:765:13: error: too many arguments for format
[-Werror=format-extra-args]
             str, record_type);
             ^
packet-ansi_637.c: In function 'tele_param_user_data':
packet-ansi_637.c:972:25: error: variable 'msg_type' set but not used
[-Werror=unused-but-set-variable]
     guint8              msg_type;
                         ^
packet-ansi_637.c: In function 'tele_param_timestamp_rel':
packet-ansi_637.c:1286:89: error: unused parameter 'len'
[-Werror=unused-parameter]
 tele_param_timestamp_rel(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
*tree, guint len, guint32 offset, int hf)
                                                                               
         ^
packet-ansi_637.c: In function 'trans_param_srvc_cat':
packet-ansi_637.c:1843:5: error: logical 'or' of collectively exhaustive tests
is always true [-Werror=logical-op]
     if ((value >= ANSI_TSB58_SRVC_CAT_CMAS_MIN) || (value <=
ANSI_TSB58_SRVC_CAT_CMAS_MAX))
     ^
packet-ansi_637.c: In function 'trans_param_bearer_data':
packet-ansi_637.c:2251:72: error: unused parameter 'tree'
[-Werror=unused-parameter]
 trans_param_bearer_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
guint len, guint32 offset, gchar *add_string _U_, int string_len _U_)
                                                                        ^


You are receiving this mail because:
  • You are watching all bug changes.