From e89905166c6c1f3347994d2a41eb8d3264c1b56b Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 22 Aug 2021 14:45:19 +0200 Subject: Mark return code of write() as intentionally unused --- ot_accesslist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_accesslist.c') diff --git a/ot_accesslist.c b/ot_accesslist.c index 3154e7f..a3a2049 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -321,7 +321,7 @@ int accesslist_blessip( ot_ip6 ip, ot_permissions permissions ) { if( permissions & OT_PERMISSION_MAY_PROXY ) off += snprintf( _debug+off, 512-off, " may_proxy" ); if( !permissions ) off += snprintf( _debug+off, sizeof(_debug)-off, " nothing\n" ); _debug[off++] = '.'; - write( 2, _debug, off ); + (void)write( 2, _debug, off ); } #endif -- cgit v1.2.3