]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r340888
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Dec 2018 10:09:53 +0000 (10:09 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Dec 2018 10:09:53 +0000 (10:09 +0000)
commitedd64dd09f26ebeafb6ee4f059c91d9af057e6a9
tree4c56305fe6ab40d7227fb525fd1121c379020257
parentd5d7ec3dc328a5f5c1df9cc09bad772d7903b933
MFC r340888

sfxge(4): fix warnings from VS2015 C compiler (C4100)

Fix multiple level 4 warnings
"C4100: 'xxx': unreferenced formal parameter"
no functional changes.

The _NOTE(ARGUNUSED(xxx)) annotations are being exposed to the Visual
Studio 2015 C compiler with the following:

  #define _NOTE_ARGUNUSED(...) UNREFERENCED_PARAMETER((__VA_ARGS__));
  #define _NOTE(_annotation)   _NOTE_ ## _annotation

Submitted by:   Andrew Lee <alee at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18122

git-svn-id: svn://svn.freebsd.org/base/stable/10@342501 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/ef10_nvram.c
sys/dev/sfxge/common/ef10_rx.c
sys/dev/sfxge/common/ef10_tx.c
sys/dev/sfxge/common/efx_ev.c
sys/dev/sfxge/common/efx_lic.c
sys/dev/sfxge/common/efx_mcdi.c