Wireshark-commits: [Wireshark-commits] master 954b958: tvbuff_lz77huff: workaround for -Wmissing-br

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 15 Jul 2019 23:02:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=954b958aa10fbc448b624911825183408d510fe3
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

954b958 by Peter Wu (peter@xxxxxxxxxxxxx):

    tvbuff_lz77huff: workaround for -Wmissing-braces warning in Clang
    
    Clang 8 emits a false positive when the first subobject of a structure
    within another structure is not a signed integer. As workaround, shuffle
    the struct member such that the first subobject is not a structure. See
    https://bugs.llvm.org/show_bug.cgi?id=39931
    
    Change-Id: Ic49413c202abb60a5782f9dbe99921e766b0153e
    Reviewed-on: https://code.wireshark.org/review/33956
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Aurélien Aptel <aaptel@xxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  7c144f4   Get display strings for the AE titles.
     add  954b958   tvbuff_lz77huff: workaround for -Wmissing-braces warning in Clang


Summary of changes:
 epan/tvbuff_lz77huff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)