summaryrefslogtreecommitdiffstats
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-07-19 16:09:17 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-07-19 16:10:13 +0200
commitec40eaf94d0b1db2ddd8354a06782ccec2696a8f (patch)
treedfe7c17448d14ddc9e5a0c7b9788660048a53ab0 /lib/compiler.h
parentMerge pull request #2608 from pacovn/PVS-Studio_dead_code_1 (diff)
downloadfrr-ec40eaf94d0b1db2ddd8354a06782ccec2696a8f.tar.xz
frr-ec40eaf94d0b1db2ddd8354a06782ccec2696a8f.zip
lib/compiler.h: Always define CPP_NOTICE
On old compilers CPP_NOTICE should be a macro evaluating to an empty statement, instead of being undefined. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
-rw-r--r--lib/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler.h b/lib/compiler.h
index 773a52e74..b19c33f65 100644
--- a/lib/compiler.h
+++ b/lib/compiler.h
@@ -76,6 +76,7 @@
#else
#define CPP_WARN(text)
+#define CPP_NOTICE(text)
#endif
#endif /* _FRR_COMPILER_H */