Fixed warning.

This commit is contained in:
Relintai 2023-12-25 20:48:01 +01:00
parent f927e2db73
commit f37f74d7f9

View File

@ -669,7 +669,11 @@ void ServerController::process(double p_delta) {
return; return;
} }
#ifdef DEBUG_ENABLED
const bool is_new_input = fetch_next_input(p_delta); const bool is_new_input = fetch_next_input(p_delta);
#else
fetch_next_input(p_delta);
#endif
if (unlikely(current_input_buffer_id == UINT32_MAX)) { if (unlikely(current_input_buffer_id == UINT32_MAX)) {
// Skip this until the first input arrive. // Skip this until the first input arrive.