Wireshark-commits: [Wireshark-commits] master-2.2 8c52fa0: Clean up temporary filename generation.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Aug 2018 03:44:34 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8c52fa0e8bc81af820521e6c4dd55f5d4aa71530
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.2
Repository: wireshark

Commits:

8c52fa0 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 f033cd542efbfa857622853d5b3e53c712cf8344)
    Reviewed-on: https://code.wireshark.org/review/29096
    

Actions performed:

    from  d737b00   Put a "Friendly Name" column in on UN*X as well.
     add  8c52fa0   Clean up temporary filename generation.


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