aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/inet_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/inet_addr.c')
-rw-r--r--wsutil/inet_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/inet_addr.c b/wsutil/inet_addr.c
index e4893d07bd..61f5f7f82f 100644
--- a/wsutil/inet_addr.c
+++ b/wsutil/inet_addr.c
@@ -80,7 +80,7 @@ _inet_ntop(int af, gconstpointer src, gchar *dst, guint dst_size)
break;
}
/* set result to something that can't be confused with a valid conversion */
- g_strlcpy(dst, errmsg, dst_size);
+ (void) g_strlcpy(dst, errmsg, dst_size);
/* set errno for caller */
errno = saved_errno;
}