diff --git a/src/profiler.c b/src/profiler.c index a98d967b2a1d4c9e36903234e59d6bf21610a839..15a0eef0d3e0e2081411995f9db8d8a72c8dfacc 100644 --- a/src/profiler.c +++ b/src/profiler.c @@ -627,12 +627,16 @@ syms_of_profiler_for_pdumper (void) { if (dumped_with_pdumper_p ()) { +#ifdef PROFILER_CPU_SUPPORT cpu_log = Qnil; +#endif memory_log = Qnil; } else { +#ifdef PROFILER_CPU_SUPPORT eassert (NILP (cpu_log)); +#endif eassert (NILP (memory_log)); }