aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r--epan/ftypes/ftype-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c
index c42f08d928..9e37fb8b67 100644
--- a/epan/ftypes/ftype-string.c
+++ b/epan/ftypes/ftype-string.c
@@ -58,7 +58,7 @@ string_to_repr(fvalue_t *fv, ftrepr_t rtype, int field_display _U_, char *buf, u
{
switch (rtype) {
case FTREPR_DISPLAY:
- g_strlcpy(buf, fv->value.string, size);
+ (void) g_strlcpy(buf, fv->value.string, size);
return;
case FTREPR_DFILTER: