From: Kenny Subject: Fix -Wunused-but-set-parameter in sys/dev/pci/nviic.c To: tech@openbsd.org Date: Sat, 14 Nov 2026 14:41:23 -0500 Fix for warning /sys/dev/pci/nviic.c:218:67: warning: parameter 'flags' set but not used [-Wunused-but-set-parameter] Index: dev/pci/nviic.c =================================================================== RCS file: /cvs/src/sys/dev/pci/nviic.c,v retrieving revision 1.18 diff -u -p -u -p -r1.18 nviic.c --- dev/pci/nviic.c 11 Mar 2022 18:00:51 -0000 1.18 +++ dev/pci/nviic.c 14 Nov 2026 19:15:58 -0000 @@ -215,7 +215,8 @@ nviic_i2c_release_bus(void *arg, int fla int nviic_i2c_exec(void *arg, i2c_op_t op, i2c_addr_t addr, - const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags) + const void *cmdbuf, size_t cmdlen, void *buf, size_t len, + int flags __unused) { struct nviic_controller *nc = arg; #ifdef NVIIC_DEBUG