From 7db37748e337c79bfad21c2c788be6c19d9eda12 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 1 Mar 2016 02:21:37 +0000 Subject: [PATCH] Correcting return type of nreclaim to match changes in other pools. Copied from Perforce Change: 190085 ServerID: perforce.ravenbrook.com --- mps/code/pooln.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mps/code/pooln.c b/mps/code/pooln.c index cfb7bc0b61d..88a7b392225 100644 --- a/mps/code/pooln.c +++ b/mps/code/pooln.c @@ -235,7 +235,7 @@ static Res NFix(Pool pool, ScanState ss, Seg seg, Ref *refIO) /* NReclaim -- reclaim method for class N */ -static void NReclaim(Pool pool, Trace trace, Seg seg) +static Bool NReclaim(Pool pool, Trace trace, Seg seg) { PoolN poolN; @@ -246,6 +246,8 @@ static void NReclaim(Pool pool, Trace trace, Seg seg) AVERT(Trace, trace); AVERT(Seg, seg); /* all unmarked and white objects reclaimed */ + + return FALSE; /* segment wasn't deleted */ }