Wireshark-commits: [Wireshark-commits] master de97ade: Small cleanup of the sequential read routine

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 30 Sep 2018 19:06:17 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=de97adecfbee8701557808690abb8dcfe8c61efe
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

de97ade by Guy Harris (guy@xxxxxxxxxxxx):

    Small cleanup of the sequential read routine.
    
    There's no need to set *err to 0; it's set by stanag4607_read_file().
    
    There's no need for an intermediate variable to hold the current file
    offset; just assign it directly to *data_offset.
    
    Change-Id: I24bd1c349dd48576a65cc36228a680134427bba5
    Reviewed-on: https://code.wireshark.org/review/29938
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  6ca646e   Qt/FrameInformation: read packet record in private buffer
     add  de97ade   Small cleanup of the sequential read routine.


Summary of changes:
 wiretap/stanag4607.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)