Wireshark-commits: [Wireshark-commits] master f033cd5: Clean up temporary filename generation.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Aug 2018 03:43:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f033cd542efbfa857622853d5b3e53c712cf8344
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

f033cd5 by Guy Harris (guy@xxxxxxxxxxxx):

    Clean up temporary filename generation.
    
    Don't put identical code in both arms of a conditional - move it out of
    the conditional.
    
    Doing that with one line of code means that the conditional is now
    *itself* duplicated in both arms of a conditional, so move it out, too.
    
    Change-Id: I07c1d00e7d0053684aa2ef74b460eb008b145015
    Reviewed-on: https://code.wireshark.org/review/29093
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  991f5a6   More interface view cleanups.
     add  f033cd5   Clean up temporary filename generation.


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