summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-06-07 00:57:05 +0200
committerGitHub <noreply@github.com>2023-06-07 00:57:05 +0200
commit6f3f9786025134bdb26a9f096bf3c1ec253a0028 (patch)
tree1cf44f33222a98c34c75a7c7c8a0c2c0a43206a4
parentd06f70b259c4bbe4194acf40608b2ab914a8990f (diff)
parent00250e75c65664c61aa3a3f61dba560148d9d341 (diff)
Merge pull request #27323 from vespa-engine/toregge/avoid-stringop-truncation-warning-in-control-file
Avoid stringop-truncation warning in ns_log::ControlFile::getLevels().
-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();