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

Commits:

5e26e12 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>
    (cherry picked from commit 885aaa4b98c54a1a1d4928e369f668695d12cc4b)
    Reviewed-on: https://code.wireshark.org/review/29094
    

Actions performed:

    from  7a60b5c   More interface view cleanups.
     add  5e26e12   Clean up temporary filename generation.


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