aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-02-28 15:59:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-02-28 15:59:33 +0100
commit57f0de4f9bd357962f4c0b098d2cc071765653d5 (patch)
treea299a2ecf3b759ab104086d7156f38831a73629b /src/util
parent66bc78945b25884c422139638117980aa256335f (diff)
downloadgnunet-57f0de4f9bd357962f4c0b098d2cc071765653d5.tar.gz
gnunet-57f0de4f9bd357962f4c0b098d2cc071765653d5.zip
add nonstring attribute to silence warning
Diffstat (limited to 'src/util')
-rw-r--r--src/util/common_logging.c2
1 files changed, 1 insertions, 1 deletions
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
100 * Note that this message maybe truncated to the first BULK_TRACK_SIZE 100 * Note that this message maybe truncated to the first BULK_TRACK_SIZE
101 * characters, in which case it is NOT 0-terminated! 101 * characters, in which case it is NOT 0-terminated!
102 */ 102 */
103static char last_bulk[BULK_TRACK_SIZE]; 103static char last_bulk[BULK_TRACK_SIZE] __attribute__ ((nonstring));
104 104
105/** 105/**
106 * Type of the last bulk message. 106 * Type of the last bulk message.