Wireshark-commits: [Wireshark-commits] master 4812085: scte35: fix uninitialized variable.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 02 Jun 2018 19:19:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4812085c28c24a11e9996f2f6db287c2e0e7265e
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4812085 by Dario Lombardo (lomato@xxxxxxxxx):

    scte35: fix uninitialized variable.
    
    ../epan/dissectors/packet-scte35.c: In function ‘dissect_scte35_splice_insert’:
    ../epan/dissectors/packet-scte35.c:487:12: error: ‘tsf’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
             if (tsf) {
                ^
    ../epan/dissectors/packet-scte35.c:451:27: note: ‘tsf’ was declared here
         guint8 component_tag, tsf;
                               ^
    cc1: all warnings being treated as errors
    
    Change-Id: I9445c76bd1d3447ce5d9ce3df5970840a1605175
    Reviewed-on: https://code.wireshark.org/review/27957
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  871ed51   DCT2000:  call lte rrc dissector for later releases
    adds  4812085   scte35: fix uninitialized variable.


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