aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/expert.c')
-rw-r--r--epan/expert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/expert.c b/epan/expert.c
index 8052d04047..9a4b8c1cba 100644
--- a/epan/expert.c
+++ b/epan/expert.c
@@ -557,7 +557,7 @@ expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int sever
if (use_vaformat) {
vsnprintf(formatted, ITEM_LABEL_LENGTH, format, ap);
} else {
- g_strlcpy(formatted, format, ITEM_LABEL_LENGTH);
+ (void) g_strlcpy(formatted, format, ITEM_LABEL_LENGTH);
}
tree = expert_create_tree(pi, group, severity, formatted);