Wireshark-commits: [Wireshark-commits] master 893a2d9: MSVC: Warn about unused formal parameters
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 21 Sep 2019 08:51:41 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=893a2d9c62e8dcc4fe0f43c47e01743136f55386
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

893a2d9 by Tomasz Moń (desowin@xxxxxxxxx):

    MSVC: Warn about unused formal parameters
    
    Provide _U_ macro definition for Visual Studio.
    
    Change the way _U_ macro is ifdefed for some targets to allow Visual
    Studio to recognize it.
    
    Ping-Bug: 15832
    Change-Id: Ic7ce145cbe9e8aa751d64c9c09ce8ba6c1bbbd30
    Reviewed-on: https://code.wireshark.org/review/34530
    Tested-by: Petri Dish Buildbot
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  29be7f9   Qt, docs, ieee1905: fix some spelling errors
     add  893a2d9   MSVC: Warn about unused formal parameters


Summary of changes:
 CMakeLists.txt               |  3 ++-
 caputils/capture-pcap-util.c | 15 ++++++++-------
 dumpcap.c                    |  5 +++--
 ui/win32/file_dlg_win32.c    |  2 +-
 ws_attributes.h              |  2 ++
 wsutil/file_util.c           |  3 ++-
 wsutil/filesystem.c          |  6 ++++--
 wsutil/getopt_long.c         |  9 ++++++++-
 8 files changed, 30 insertions(+), 15 deletions(-)