Wireshark-commits: [Wireshark-commits] master 6e66cda: No need to call tvb_reported_length() twice.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 2 May 2015 09:31:21 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6e66cdaaed5f918afb2b4e6ef5e646f22fb91810
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6e66cda by Guy Harris (guy@xxxxxxxxxxxx):

    No need to call tvb_reported_length() twice.
    
    Just reuse the result we got from an earlier call.
    
    Change-Id: Icb4617d731d9e3f152ce762f56a1c32567cbde4a
    Reviewed-on: https://code.wireshark.org/review/8270
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  4f95ff8   Expand comments.
    adds  6e66cda   No need to call tvb_reported_length() twice.


Summary of changes:
 epan/dissectors/packet-pim.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)