krb5 commit: Fix void return in __bt_dpage
Tom Yu
tlyu at mit.edu
Tue Aug 16 21:46:15 EDT 2016
https://github.com/krb5/krb5/commit/84992bd7a9e1fd2f6b332d054aef9c8dfea84742
commit 84992bd7a9e1fd2f6b332d054aef9c8dfea84742
Author: Tom Yu <tlyu at mit.edu>
Date: Mon Aug 8 09:15:09 2016 -0400
Fix void return in __bt_dpage
ticket: 8478
src/plugins/kdb/db2/libdb2/btree/bt_debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_debug.c b/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
index d0bb56e..0fa47f3 100644
--- a/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
+++ b/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
@@ -223,7 +223,7 @@ __bt_dpage(dbp, h)
(void)fprintf(tracefp, "\tprev %2d next %2d", h->prevpg, h->nextpg);
if (h->flags & P_OVERFLOW)
- return;
+ return (0);
pgsize = ((BTREE *)dbp->internal)->bt_mp->pagesize;
lim = (pgsize - BTDATAOFF) / sizeof(indx_t);
More information about the cvs-krb5
mailing list