projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62dc64b
)
scanner.l: really fix pragma
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 20:53:21 +0000
(22:53 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 20:53:21 +0000
(22:53 +0200)
src/liboconfig/scanner.l
patch
|
blob
|
history
diff --git
a/src/liboconfig/scanner.l
b/src/liboconfig/scanner.l
index
2b5dbfb
..
f578ae1
100644
(file)
--- a/
src/liboconfig/scanner.l
+++ b/
src/liboconfig/scanner.l
@@
-33,13
+33,12
@@
#include "aux_types.h"
#include "parser.h"
+#pragma GCC diagnostic ignored "-Wsign-compare"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-noreturn"
#endif
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wsign-compare"
/* multiline string buffer */
static char *ml_buffer = NULL;
@@
-170,5
+169,3
@@
static void ml_append (char *string)
#ifdef __clang__
#pragma clang diagnostic pop
#endif
-
-#pragma GCC diagnostic pop