Wireshark-commits: [Wireshark-commits] master 36ca304: dumpcap: Initialize a couple of variables.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 21 May 2020 15:33:18 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=36ca304359c39be015a245bfc0d1ad1b1c05dbeb
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

36ca304 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    dumpcap: Initialize a couple of variables.
    
    Initialize err in capture_loop_init_output, as caught by both clang's
    scan-build and Visual Studio's code analysis. Initialze err in
    capture_loop_init_pcapng_output to match.
    
    Move another variable to the code block in which it is used.
    
    Change-Id: I0306ae6a02a02a8e1ebda89b7c574a7cae01b68f
    Reviewed-on: https://code.wireshark.org/review/37274
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  2b9796a   QUIC: add new transport parameters and error codes (draft-28)
     add  36ca304   dumpcap: Initialize a couple of variables.


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