mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1153: build error with some compilers
Problem: Build error with some compilers. Solution: Clear pointer the right way.
This commit is contained in:
@@ -606,7 +606,7 @@ early_ret:
|
||||
goto cleanup;
|
||||
for (int i = 0; i < ga_impl.ga_len; ++i)
|
||||
cl->class_interfaces[i] = ((char_u **)ga_impl.ga_data)[i];
|
||||
CLEAR_POINTER(ga_impl.ga_data);
|
||||
VIM_CLEAR(ga_impl.ga_data);
|
||||
ga_impl.ga_len = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user