1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Check the trace argument to tracequantum.

Copied from Perforce
 Change: 186027
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-05-12 13:35:21 +01:00
parent 5ae19ee234
commit 95ee3a4568

View file

@ -1738,7 +1738,10 @@ Res TraceStart(Trace trace, double mortality, double finishingTime)
void TraceQuantum(Trace trace)
{
Size pollEnd;
Arena arena = trace->arena;
Arena arena;
AVERT(Trace, trace);
arena = trace->arena;
pollEnd = traceWorkClock(trace) + trace->rate;
do {