URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=21d6ed40adec5b8d5942f0dfc21a96b2fe110ac5
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
21d6ed4 by Martin Kaiser (wireshark@xxxxxxxxx):
fix compile error
packet-gsm_sms.c: In function 'dis_field_dcs':
packet-gsm_sms.c:694:12: error: 'msg_class' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[5]: *** [libdissectors_la-packet-gsm_sms.lo] Error 1
I suppose that 0xff is an invalid message class and therefore a
reasonable default value.
Change-Id: Iab3d3f50144b24bee4972063c2170d7a9f9b7c25
Reviewed-on: https://code.wireshark.org/review/5745
Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
Actions performed:
from 758ec16 GSM SMS: fix (U)SIM Data Download Class 2 dissection
adds 21d6ed4 fix compile error
Summary of changes:
epan/dissectors/packet-gsm_sms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)