mirror of
https://github.com/neovim/neovim.git
synced 2026-02-06 04:21:42 +10:00
STR_CASE previously used a NULL data pointer for the String object, but this pushes the NULL checks to the rest of the code. Instead, allocating an empty string solves the same issue of there not being any data but ensures that we're not passing NULL to functions that don't expect it. Closes #5627