Wireshark-commits: [Wireshark-commits] master d0cf1de: per: add initializer.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 15 Nov 2016 09:28:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d0cf1de0f976a4283cbc0a021cf8394bf8956fe4
Submitter: Dario Lombardo (lomato@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d0cf1de by dario (lomato@xxxxxxxxx):

    per: add initializer.
    
    Travis CI found the following errors:
    wireshark/epan/dissectors/packet-per.c: In function ‘dissect_per_open_type_internal’:
    wireshark/epan/dissectors/packet-per.c:193:24: error: ‘pdu_tvb’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
        tvb_composite_append(pdu_tvb, tvb_new_octet_aligned(tvb, offset, 8*type_length));
                            ^
    wireshark/epan/dissectors/packet-per.c: In function ‘dissect_per_bit_string’:
    wireshark/epan/dissectors/packet-per.c:2269:24: error: ‘fragmented_tvb’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
        tvb_composite_append(fragmented_tvb, tvb_new_octet_aligned(tvb, offset, length));
    
    Change-Id: Idfd8bfc20439485f53e906a46e0717fc6199071c
    Reviewed-on: https://code.wireshark.org/review/18827
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    

Actions performed:

    from  f3670b9   [SIP] Parse Via parameters for Overload Control RFC 7339
    adds  d0cf1de   per: add initializer.


Summary of changes:
 epan/dissectors/packet-per.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)