From 84992bd7a9e1fd2f6b332d054aef9c8dfea84742 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 8 Aug 2016 09:15:09 -0400 Subject: [PATCH] Fix void return in __bt_dpage ticket: 8478 --- src/plugins/kdb/db2/libdb2/btree/bt_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_debug.c b/src/plugins/kdb/db2/libdb2/btree/bt_debug.c index d0bb56e0a1..0fa47f3d78 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); -- 2.47.3