diff --git a/thermosphere/src/exceptions.c b/thermosphere/src/exceptions.c index 5b17a3d69..ae1bccb05 100644 --- a/thermosphere/src/exceptions.c +++ b/thermosphere/src/exceptions.c @@ -202,6 +202,7 @@ void handleLowerElSyncException(ExceptionStackFrame *frame) void handleSameElSyncException(ExceptionStackFrame *frame) { ExceptionSyndromeRegister esr = frame->esr_el2; + (void)esr; DEBUG("Same EL sync exception on core %x, EC = 0x%02llx IL=%llu ISS=0x%06llx\n", currentCoreCtx->coreId, (u64)esr.ec, esr.il, esr.iss); dumpStackFrame(frame, true); } diff --git a/thermosphere/src/main.c b/thermosphere/src/main.c index b6c3f51d0..5eaeecd5e 100644 --- a/thermosphere/src/main.c +++ b/thermosphere/src/main.c @@ -77,6 +77,7 @@ void testProcessDataCallback(TransportInterface *iface, void *p, size_t sz) (void)sz; debugManagerUnpauseCores(BIT(0)); TestCtx *ctx = (TestCtx *)p; + (void)ctx; DEBUG("EL2 [core %u]: you typed: %s\n", currentCoreCtx->coreId, ctx->buf); }