Wireshark-commits: [Wireshark-commits] master be76ba5: Fix warning found by -Wunused-const-variable
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=be76ba5f0df80f2e0f44f2c8bad9ee2e7341a729
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
be76ba5 by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):
Fix warning found by -Wunused-const-variable (Clang 3.5)
../../asn1/kerberos/packet-kerberos-template.c:1076:27: error: unused variable 'w2k_pac_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1089:27: error: unused variable 'krb5_princ_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1146:27: error: unused variable 'krb5_encryption_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1184:27: error: unused variable 'krb5_checksum_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1222:27: error: unused variable 'krb5_ad_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1239:27: error: unused variable 'krb5_transited_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/packet-kerberos-template.c:1244:27: error: unused variable 'krb5_address_types' [-Werror,-Wunused-const-variable]
../../asn1/kerberos/kerberos.cnf:153:27: error: unused variable 'kerberos_Applications_vals' [-Werror,-Wunused-const-variable]
Change-Id: Ie842d236628efb46450f3e6c23b5590b2e622c25
Reviewed-on: https://code.wireshark.org/review/1199
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from acd640c Fix mix tab and space
adds be76ba5 Fix warning found by -Wunused-const-variable (Clang 3.5)
Summary of changes:
asn1/kerberos/kerberos.cnf | 3 +
asn1/kerberos/packet-kerberos-template.c | 7 ++-
epan/dissectors/packet-kerberos.c | 91 ++++++++++++------------------
3 files changed, 46 insertions(+), 55 deletions(-)