Wireshark-users: Re: [Wireshark-users] packet-ssl.c: 'ssl_reset_uat' defined but not used [-Werro
From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Fri, 13 Jan 2017 09:14:59 +0100
Hi,

2017-01-13 6:58 GMT+01:00 jungle boogie <jungleboogie0@xxxxxxxxx>:
Hi All,

This commit seems to have broken my build:
https://github.com/wireshark/wireshark/commit/805ddd1addbea96308fe3b790043ec511c73bbfa

CC       packet-smb-common.lo
CC       packet-smb-logon.lo
CC       packet-smb-mailslot.lo
CC       packet-smb-pipe.lo
CC       packet-smb-sidsnooping.lo
CC       packet-smb-direct.lo
CC       packet-smb.lo
CC       packet-smb2.lo
CC       packet-smcr.lo
CC       packet-sml.lo
CC       packet-smpp.lo
CC       packet-smtp.lo
CC       packet-sna.lo
CC       packet-snaeth.lo
CC       packet-sndcp-xid.lo
CC       packet-sndcp.lo
CC       packet-snort.lo
CC       packet-socketcan.lo
CC       packet-socks.lo
CC       packet-soupbintcp.lo
CC       packet-spdy.lo
CC       packet-spice.lo
CC       packet-spp.lo
CC       packet-spray.lo
CC       packet-sprt.lo
CC       packet-srp.lo
CC       packet-srvloc.lo
CC       packet-sscf-nni.lo
CC       packet-sscop.lo
CC       packet-ssh.lo
CC       packet-ssl-utils.lo
CC       packet-ssl.lo
packet-ssl.c:432:1: error: 'ssl_reset_uat' defined but not used [-Werror=unused-function]
ssl_reset_uat(void)
^
cc1: all warnings being treated as errors
Makefile:4355: recipe for target 'packet-ssl.lo' failed
make[6]: *** [packet-ssl.lo] Error 1
make[6]: Leaving directory '/home/user/bin/wireshark/epan/dissectors'
Makefile:4403: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/user/bin/wireshark/epan/dissectors'
Makefile:2947: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/user/bin/wireshark/epan/dissectors'
Makefile:2106: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/user/bin/wireshark/epan'
Makefile:1204: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/user/bin/wireshark/epan'
Makefile:3401: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/bin/wireshark'
Makefile:1730: recipe for target 'all' failed
make: *** [all] Error 2

Can this be reviewed?

You can update your local copy.

Thanks for the report and best regards,
Pascal.