From 00250e75c65664c61aa3a3f61dba560148d9d341 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 6 Jun 2023 20:53:06 +0200 Subject: Avoid stringop-truncation warning in ns_log::ControlFile::getLevels(). --- vespalog/src/vespa/log/control-file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vespalog/src/vespa/log/control-file.h b/vespalog/src/vespa/log/control-file.h index 31c15077c8c..c9ab746c3e2 100644 --- a/vespalog/src/vespa/log/control-file.h +++ b/vespalog/src/vespa/log/control-file.h @@ -60,7 +60,7 @@ public: unsigned int *getLevels(const char *name); void ensureComponent(const char *pattern); - static unsigned int *defaultLevels(); + static unsigned int *defaultLevels() __attribute__((noinline)); // make sure in-memory changes are synchronized to disk void flush(); -- cgit v1.2.3