Wireshark-commits: [Wireshark-commits] master 2c09745: Fix capture_sync: Assigned value is garbage

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Feb 2014 11:32:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2c0974540699dabe9484fa2ef3fde39fc6b573cf
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2c09745 by Hadriel Kaplan (hadrielk@xxxxxxxxx):

    Fix capture_sync: Assigned value is garbage or undefined (clang analyzer)
    
    I'm not 100% positive this fix is the right way to handle this condition,
    but it seems the safest way without changing a lot of other code.
    
    Change-Id: Icaa8d6f38bc03177162f046d1e7ca55d87bad6a6
    Reviewed-on: https://code.wireshark.org/review/373
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    Tested-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  ea1d5c1   Use proto_tree_add_item() for most string encodings.
    adds  2c09745   Fix capture_sync: Assigned value is garbage or undefined (clang analyzer)


Summary of changes:
 capture_sync.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)