The branch stable/13 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5298739f2d9fd8b3d1196fcf019bb39ec303e84e

commit 5298739f2d9fd8b3d1196fcf019bb39ec303e84e
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-11-28 03:53:05 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-12-06 00:23:44 +0000

    libc/rpc/getrpcent.c: Mark write-only variables as unused
    
    (cherry picked from commit 16b238b74004f9cde53c6305d760f9e485e9cd91)
---
 lib/libc/rpc/getrpcent.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c
index 4f3df270de0c..e4770e4e88c5 100644
--- a/lib/libc/rpc/getrpcent.c
+++ b/lib/libc/rpc/getrpcent.c
@@ -657,11 +657,11 @@ static int
 rpc_marshal_func(char *buffer, size_t *buffer_size, void *retval, va_list ap,
     void *cache_mdata)
 {
-       char *name;
-       int num;
+       char *name __unused;
+       int num __unused;
        struct rpcent *rpc;
-       char *orig_buf;
-       size_t orig_buf_size;
+       char *orig_buf __unused;
+       size_t orig_buf_size __unused;
 
        struct rpcent new_rpc;
        size_t desired_size, size, aliases_size;
@@ -744,8 +744,8 @@ static int
 rpc_unmarshal_func(char *buffer, size_t buffer_size, void *retval, va_list ap,
     void *cache_mdata)
 {
-       char *name;
-       int num;
+       char *name __unused;
+       int num __unused;
        struct rpcent *rpc;
        char *orig_buf;
        size_t orig_buf_size;

Reply via email to