From 57f0de4f9bd357962f4c0b098d2cc071765653d5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 28 Feb 2019 15:59:33 +0100 Subject: add nonstring attribute to silence warning --- src/util/common_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/common_logging.c b/src/util/common_logging.c index c5a46d8c3..60f0b2e8b 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -100,7 +100,7 @@ struct CustomLogger * Note that this message maybe truncated to the first BULK_TRACK_SIZE * characters, in which case it is NOT 0-terminated! */ -static char last_bulk[BULK_TRACK_SIZE]; +static char last_bulk[BULK_TRACK_SIZE] __attribute__ ((nonstring)); /** * Type of the last bulk message. -- cgit v1.2.3