gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: add nonstring attribute to


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: add nonstring attribute to silence warning
Date: Thu, 28 Feb 2019 15:59:38 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 57f0de4f9 add nonstring attribute to silence warning
57f0de4f9 is described below

commit 57f0de4f9bd357962f4c0b098d2cc071765653d5
Author: Florian Dold <address@hidden>
AuthorDate: Thu Feb 28 15:59:33 2019 +0100

    add nonstring attribute to silence warning
---
 src/util/common_logging.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]