Wireshark-commits: [Wireshark-commits] master 907d494: Fix some of the checkAPIs.pl warnings for g_

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 26 Jul 2016 04:09:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=907d49483d24698013fcdaec15b78a149751eecb
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

907d494 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Fix some of the checkAPIs.pl warnings for g_warning.
    
    1. Create ws_g_warning for legitimate uses of g_warning
    2. Use proto_tree_add_debug_text
    3. Comment some out
    
    Change-Id: Ida044bf40286b955fdd529c4f9907c8e09b3d7c5
    Reviewed-on: https://code.wireshark.org/review/16678
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  6fbaf9b   GVSP: enforce heuristic (get some false positive with STUN)
    adds  907d494   Fix some of the checkAPIs.pl warnings for g_warning.


Summary of changes:
 epan/color_filters.c                    |    3 +-
 epan/disabled_protos.c                  |    9 +--
 epan/dissectors/packet-rlc.c            |    6 +-
 epan/epan.c                             |    3 +-
 epan/prefs.c                            |   21 +++----
 epan/proto.c                            |    6 +-
 epan/show_exception.c                   |    3 +-
 epan/tap.c                              |    3 +-
 epan/tvbparse.c                         |   91 ++++++++++++++++---------------
 epan/value_string.c                     |    5 +-
 plugins/mate/mate_util.c                |    5 +-
 plugins/mate/packet-mate.c              |    3 +-
 plugins/profinet/packet-dcom-cba-acco.c |   13 +++--
 wiretap/nettrace_3gpp_32_423.c          |   20 +++----
 wsutil/ws_printf.h                      |    5 ++
 15 files changed, 106 insertions(+), 90 deletions(-)