diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2021-08-22 14:45:19 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-08-22 14:45:19 +0200 |
commit | e89905166c6c1f3347994d2a41eb8d3264c1b56b (patch) | |
tree | 89eaaf1e741c79666e7f860a584df4dfd27873d8 /ot_accesslist.c | |
parent | 019d58d154a878aea845989f1a5f4f4eb3b80673 (diff) |
Mark return code of write() as intentionally unused
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r-- | ot_accesslist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { | |||
321 | if( permissions & OT_PERMISSION_MAY_PROXY ) off += snprintf( _debug+off, 512-off, " may_proxy" ); | 321 | if( permissions & OT_PERMISSION_MAY_PROXY ) off += snprintf( _debug+off, 512-off, " may_proxy" ); |
322 | if( !permissions ) off += snprintf( _debug+off, sizeof(_debug)-off, " nothing\n" ); | 322 | if( !permissions ) off += snprintf( _debug+off, sizeof(_debug)-off, " nothing\n" ); |
323 | _debug[off++] = '.'; | 323 | _debug[off++] = '.'; |
324 | write( 2, _debug, off ); | 324 | (void)write( 2, _debug, off ); |
325 | } | 325 | } |
326 | #endif | 326 | #endif |
327 | 327 | ||