idna: fix compilation warning

w_target_len is set but unsued in release mode.
This commit is contained in:
Saúl Ibarra Corretgé 2023-12-11 09:18:50 +01:00
parent 5e302730cd
commit 12bd89bbc3

View File

@ -400,6 +400,7 @@ void uv_wtf8_to_utf16(const char* source_ptr,
} }
} while (*source_ptr++); } while (*source_ptr++);
(void)w_target_len;
assert(w_target_len == 0); assert(w_target_len == 0);
} }