Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master ad8f859: expert_comp_table (GTK): fix will never be e

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 4 Sep 2015 14:36:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad8f8597efb69cf889b3541b0052467888013045
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ad8f859 by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    expert_comp_table (GTK): fix will never be executed [-Wunreachable-code]
    
    use #if 0 /#endif for disable code
    
    Found by Clang 3.7
    
    Change-Id: Ie1b6b0936df0ae422baa9b3bb9692f136eb177b1
    Reviewed-on: https://code.wireshark.org/review/10380
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  ecc51f3   H223: fix will never be executed [-Wunreachable-code]
    adds  ad8f859   expert_comp_table (GTK): fix will never be executed [-Wunreachable-code]


Summary of changes:
 ui/gtk/expert_comp_table.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)