1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Removing unnecessary unused declarations since changelist 179690.

Copied from Perforce
 Change: 179691
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2012-09-25 23:34:20 +01:00
parent c6bd70744c
commit cb8f0ea514
4 changed files with 0 additions and 9 deletions

View file

@ -874,10 +874,6 @@ Bool BufferTrip(Buffer buffer, Addr p, Size size)
clientClass = (Addr)0;
}
EVENT4(BufferCommit, buffer, p, size, clientClass);
/* Of course, it's not _really_ unused unless you're not */
/* using telemetry. This is a HACK @@@@. It should be */
/* removed when telemetry is fixed to use its arguments. */
UNUSED(clientClass);
}
return TRUE;
}

View file

@ -314,7 +314,6 @@ Res CBSInit(Arena arena, CBS cbs, void *owner,
AVERT(CBS, cbs);
EVENT2(CBSInit, cbs, owner);
UNUSED(owner); /* @@@@ hack: unused in non-event varieties */
CBSLeave(cbs);
return ResOK;
}

View file

@ -1444,8 +1444,6 @@ static Res amcScanNailedOnce(Bool *totalReturn, Bool *moreReturn,
Bool total = TRUE;
Size bytesScanned = 0;
UNUSED(amc); /* Actually only unused when telemetry is off. @@@@ */
EVENT3(AMCScanBegin, amc, seg, ss); /* @@@@ use own event */
format = pool->format;

View file

@ -650,7 +650,6 @@ Bool SegCheck(Seg seg)
TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, seg->limit) {
Seg trseg = NULL; /* suppress compiler warning */
UNUSED(trseg); /* @@@@ unused in hot varieties */
CHECKL(TractCheck(tract)); /* <design/check/#type.no-sig> */
CHECKL(TRACT_SEG(&trseg, tract) && (trseg == seg));
CHECKL(TractWhite(tract) == seg->white);
@ -1258,7 +1257,6 @@ static void gcSegSetWhite(Seg seg, TraceSet white)
TRACT_TRACT_FOR(tract, addr, arena, seg->firstTract, limit) {
Seg trseg = NULL; /* suppress compiler warning */
UNUSED(trseg); /* @@@@ unused in hot varieties */
AVER_CRITICAL(TractCheck(tract)); /* <design/check/#type.no-sig> */
AVER_CRITICAL(TRACT_SEG(&trseg, tract) && (trseg == seg));
TractSetWhite(tract, white);