projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'hugepages'
[collectd.git]
/
src
/
liboconfig
/
scanner.l
diff --git
a/src/liboconfig/scanner.l
b/src/liboconfig/scanner.l
index
7a831c2
..
4858003
100644
(file)
--- a/
src/liboconfig/scanner.l
+++ b/
src/liboconfig/scanner.l
@@
-33,6
+33,12
@@
#include "aux_types.h"
#include "parser.h"
#include "aux_types.h"
#include "parser.h"
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmissing-noreturn"
+#endif
+
+
/* multiline string buffer */
static char *ml_buffer = NULL;
static int ml_pos = 0;
/* multiline string buffer */
static char *ml_buffer = NULL;
static int ml_pos = 0;
@@
-159,3
+165,6
@@
static void ml_append (char *string)
return;
} /* ml_append */
return;
} /* ml_append */
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif