summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-26 20:16:13 +0200
committerpaco <paco@voltanet.io>2018-06-26 21:39:56 +0200
commit39050c7e0dea9070bb91af582a6f89cfdf2063ba (patch)
treefd92d944858cfae7266678ad5ef94fe21766bd54 /lib
parentMerge pull request #2549 from pacovn/Coverity_1452317_Explicit_null_dereferenced (diff)
downloadfrr-39050c7e0dea9070bb91af582a6f89cfdf2063ba.tar.xz
frr-39050c7e0dea9070bb91af582a6f89cfdf2063ba.zip
lib ospfd: dead code (Coverity 1302503 1302502)
Signed-off-by: F. Aragon <paco@voltanet.io>
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)