summaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorChris Luke <chrisy@flirble.org>2017-09-05 11:59:55 -0400
committerDave Wallace <dwallacelf@gmail.com>2017-09-06 16:29:49 +0000
commit2951d901a5b6ac48b0203b2da9e35ea419b9b4d6 (patch)
treee3d28e4997d6e51c1a44d69fde60266771ada9a7 /src/vppinfra
parent704018cf117b6667f08b09d6db5fbec105bf6d57 (diff)
Fixes for issues raised by Coverity (VPP-972)
Change-Id: I4b1f27b95d67d48b7a13750ff8754c344ed7afa7 Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/bihash_template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c
index 704d1659fc8..2a5a5cd228a 100644
--- a/src/vppinfra/bihash_template.c
+++ b/src/vppinfra/bihash_template.c
@@ -509,10 +509,11 @@ u8 *BV (format_bihash_lru) (u8 * s, va_list * args)
for (i = 0; i < BIHASH_KVP_CACHE_SIZE; i++)
s = format (s, "[%d] ", ((cache_lru >> (3 * i)) & 7));
+
+ return (s);
#else
return format (s, "cache not configured");
#endif
- return (s);
}
void