Wireshark-commits: [Wireshark-commits] master a88b7bc: PROFINET: Fix switch statement has no defaul

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 29 Sep 2016 00:51:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a88b7bc1a6f4033a0b98c9847d259fb3d687fcf4
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a88b7bc by Birol Capa (birol.capa@xxxxxxxxxxx):

    PROFINET: Fix switch statement has no default
    
    A switch statement has no section labeled default.
    To make the code more readable add the default statement with a good comment.
    
    Change-Id: Iacd9b1520628e229baedc89277d07ffac2caf1b6
    Reviewed-on: https://code.wireshark.org/review/17960
    Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  814477c   PROFINET: Fix pointer variable 'fp' previously deallocated warning
    adds  a88b7bc   PROFINET: Fix switch statement has no default


Summary of changes:
 plugins/profinet/packet-dcerpc-pn-io.c |    4 ++++
 1 file changed, 4 insertions(+)