summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2018-06-26 22:48:54 +0200
committerGitHub <noreply@github.com>2018-06-26 22:48:54 +0200
commit81ef2361a338f711874dd36be20ce5e464ae1b14 (patch)
tree0ac0063adfb38d83e77526fffe5d0c48a6547b30 /lib
parentMerge pull request #2560 from pacovn/Coverity_1302500_Constant_variable_guard... (diff)
parentlib ospfd: dead code (Coverity 1302503 1302502) (diff)
downloadfrr-81ef2361a338f711874dd36be20ce5e464ae1b14.tar.xz
frr-81ef2361a338f711874dd36be20ce5e464ae1b14.zip
Merge pull request #2559 from pacovn/Coverity_1302503_Logically_dead_code
lib ospfd: dead code (Coverity 1302503 1302502)
Diffstat (limited to 'lib')
-rw-r--r--lib/linklist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/linklist.h b/lib/linklist.h
index 39e70293d..ea5a3531a 100644
--- a/lib/linklist.h
+++ b/lib/linklist.h
@@ -52,6 +52,7 @@ struct list {
};
#define listnextnode(X) ((X) ? ((X)->next) : NULL)
+#define listnextnode_unchecked(X) ((X)->next)
#define listhead(X) ((X) ? ((X)->head) : NULL)
#define listtail(X) ((X) ? ((X)->tail) : NULL)
#define listcount(X) ((X)->count)