Wireshark-commits: [Wireshark-commits] master 600b84f: Clean up the null pointer check in profile_e

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Feb 2018 22:21:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=600b84f4c1f35252f8d748098b838c3f4ca20d09
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

600b84f by Guy Harris (guy@xxxxxxxxxxxx):

    Clean up the null pointer check in profile_exists().
    
    Check only in the if (global) case, and note that it's necessary in that
    case; in the !global case, note why we don't have to check for a null
    pointer.
    
    Change-Id: I80322204ec94eb3901f7bceabccb29351794adc8
    Reviewed-on: https://code.wireshark.org/review/25674
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  62fc862   Squelch an rc warning.
    adds  600b84f   Clean up the null pointer check in profile_exists().


Summary of changes:
 wsutil/filesystem.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)