diff --git a/src/runtime_src/core/common/xdp/profile.cpp b/src/runtime_src/core/common/xdp/profile.cpp index 4ea6797e312..caf29a001c7 100644 --- a/src/runtime_src/core/common/xdp/profile.cpp +++ b/src/runtime_src/core/common/xdp/profile.cpp @@ -26,7 +26,11 @@ register_callbacks(void* handle) #ifdef XDP_MINIMAL_BUILD update_device_cb = reinterpret_cast(xrt_core::dlsym(handle, "updateAIECtrDevice")); end_poll_cb = reinterpret_cast(xrt_core::dlsym(handle, "endAIECtrPoll")); + #else + (void)handle; #endif + + } void