Wireshark-commits: [Wireshark-commits] master e456dec: don't initialize variables if the first thin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 7 Dec 2014 18:53:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e456dec48be76ffd403bb6259537c441c0bac42e
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e456dec by Martin Kaiser (wireshark@xxxxxxxxx):

    don't initialize variables if the first thing we do is assign a
    different value to them
    
    Change-Id: I719db9180b2ba5f21653086f2697ca9bac68d6b1
    Reviewed-on: https://code.wireshark.org/review/5652
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  ade2bef   make sure that we don't read past the end of the compressed buffer
    adds  e456dec   don't initialize variables if the first thing we do is assign a different value to them


Summary of changes:
 epan/tvbuff_zlib.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)