Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master bddd757: zbee zcl: fill constant ett arrays at declar

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 11 Apr 2018 06:24:40 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bddd7577a396de1685f96230f1a2ebdf6251b999
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bddd757 by Martin Kaiser (wireshark@xxxxxxxxx):

    zbee zcl: fill constant ett arrays at declaration time
    
    This dissector defines a bunch of ett arrays, most of which contain a
    constant list of ett entries. Fill those arrays directly when they're
    declared, this is what the vast majority of other dissectors do.
    
    Fix some whitspace things while at it.
    
    Change-Id: Iae85e2449024ef04b2a44bd847c45515f8efc903
    Reviewed-on: https://code.wireshark.org/review/26869
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  b492011   zbee_zcl: (trivial) clean up decode_color_xy()
    adds  bddd757   zbee zcl: fill constant ett arrays at declaration time


Summary of changes:
 epan/dissectors/packet-zbee-zcl-general.c | 191 +++++++++++++-----------------
 1 file changed, 85 insertions(+), 106 deletions(-)