Wireshark-commits: [Wireshark-commits] master e83ec1a: Fix various compile warnings.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 03 Jul 2018 04:44:23 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e83ec1afa767a319ae21eaf6acd966ff0c9ece71
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e83ec1a by Guy Harris (guy@xxxxxxxxxxxx):

    Fix various compile warnings.
    
    Use h265_profile_idc_values as the value_string for
    h265.general_profile_idc.  Get rid of a duplicate value - 2 is used for
    both "Main 10" and "Main 10 Still" profiles, a *separate* part of the
    packet indicates whether it's the still picture version or not.
    
    "#if 0" out h265_level_bitrate_values - it's not clear where it should
    be used.
    
    Initialize two-dimensional arrays with { { 0 } }, i.e.  an array of
    arrays, with the first element of the first array explicitly initialized
    to zero, and all the other elements of all the other arrays implicitly
    initialized to zero.
    
    Change-Id: Ia2ddc28528dcc49fa7a69685b7e5d08d2cd6b4e7
    Reviewed-on: https://code.wireshark.org/review/28574
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d897492   WSUTIL/PINT: transform macros into static functions
    adds  e83ec1a   Fix various compile warnings.


Summary of changes:
 epan/dissectors/packet-h265.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)