mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 22:40:51 -08:00
Avoid "iso c90 forbids mixed declarations and code" error from gcc.
Copied from Perforce Change: 188257 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
aa6a027c68
commit
3ef063c80f
1 changed files with 3 additions and 1 deletions
|
|
@ -160,6 +160,8 @@ static double policyCollectionTime(Arena arena)
|
|||
Bool PolicyShouldCollectWorld(Arena arena, double availableTime,
|
||||
Clock now, Clock clocks_per_sec)
|
||||
{
|
||||
Size collectableSize;
|
||||
|
||||
AVERT(Arena, arena);
|
||||
/* Can't collect the world if we're not given any time. */
|
||||
AVER(availableTime > 0.0);
|
||||
|
|
@ -167,7 +169,7 @@ Bool PolicyShouldCollectWorld(Arena arena, double availableTime,
|
|||
AVER(arena->busyTraces == TraceSetEMPTY);
|
||||
|
||||
/* Don't collect the world if it's very small. */
|
||||
Size collectableSize = ArenaCollectable(arena);
|
||||
collectableSize = ArenaCollectable(arena);
|
||||
if (collectableSize > ARENA_MINIMUM_COLLECTABLE_SIZE) {
|
||||
/* How long would it take to collect the world? */
|
||||
double collectionTime = policyCollectionTime(arena);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue