Wireshark-commits: [Wireshark-commits] master-1.12 bb3c2e5: Move some stuff into the only code path

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 12:33:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bb3c2e5b99d6896f49cd18b879475c8078482e19
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

bb3c2e5 by Guy Harris (guy@xxxxxxxxxxxx):

    Move some stuff into the only code path where it's used.
    
    AirPDCapPacketProcess() really does two different things; some of the
    stuff it does in both code paths only needs to be done in one code path.
    Make it so.
    
    Change-Id: Idb231d729150781f323e88ed375c983a3afd2577
    Reviewed-on: https://code.wireshark.org/review/10439
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit f25b8c6784e7dab61e0754159dd3202bda584da9)
    Reviewed-on: https://code.wireshark.org/review/12791
    

Actions performed:

    from  6730ced   airpdcap: fix V512 warning reported by PVS-Studio
    adds  bb3c2e5   Move some stuff into the only code path where it's used.


Summary of changes:
 epan/crypt/airpdcap.c |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)