summaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2023-06-06 20:53:06 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2023-06-06 20:53:06 +0200
commit00250e75c65664c61aa3a3f61dba560148d9d341 (patch)
tree8ef622c637285813e88ad2dd3d010c9a53e23676 /vespalog
parentf9a06e5730bd5312a501c73c07c27659f99dfe6c (diff)
Avoid stringop-truncation warning in ns_log::ControlFile::getLevels().
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/vespa/log/control-file.h2
1 files changed, 1 insertions, 1 deletions
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();