diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-07-19 16:09:17 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-07-19 16:10:13 +0200 |
commit | ec40eaf94d0b1db2ddd8354a06782ccec2696a8f (patch) | |
tree | dfe7c17448d14ddc9e5a0c7b9788660048a53ab0 /lib/compiler.h | |
parent | Merge pull request #2608 from pacovn/PVS-Studio_dead_code_1 (diff) | |
download | frr-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.h | 1 |
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 */ |