Wireshark-commits: [Wireshark-commits] master 143f4cd: Fix build with CFLAGS="-g -Og" [-Werror=mayb

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 25 Feb 2016 07:02:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=143f4cd4fee56e6f5b825fee447e9feb687e52d7
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

143f4cd by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

    Fix build with CFLAGS="-g -Og" [-Werror=maybe-uninitialized]
    
    packet-flexray.c: In function ‘dissect_flexray’:
    packet-flexray.c:245:6: error: ‘flexray_frame_tree’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
          expert_add_info(pinfo, flexray_frame_tree, &ei_flexray_frame_payload);
          ^
    cc1: all warnings being treated as errors
    
    Change-Id: Iadcae49e7d958823ae7066906892f6c1ae85169b
    Reviewed-on: https://code.wireshark.org/review/14124
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  bc9c6c6   Cleanup CMakeLists.txt indentation and use lower case function names
    adds  143f4cd   Fix build with CFLAGS="-g -Og" [-Werror=maybe-uninitialized]


Summary of changes:
 epan/dissectors/packet-flexray.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)