Wireshark-commits: [Wireshark-commits] master 6df8e83: block->options is never null; don't check fo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 18 Jul 2016 19:59:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6df8e83e5754a883e768573a0bae8199f1c8fb9c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6df8e83 by Guy Harris (guy@xxxxxxxxxxxx):

    block->options is never null; don't check for it.
    
    A wtap_block_t always has an array of options, even if it's empty.
    
    Fixes CID 1364135.
    
    Change-Id: Ib1ba791ddcac078ec34def321d63d140c5576037
    Reviewed-on: https://code.wireshark.org/review/16535
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d54f372   Remove wtap_block_num_options_of_type().
    adds  6df8e83   block->options is never null; don't check for it.


Summary of changes:
 wiretap/wtap_opttypes.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)