diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-16 16:41:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 16:41:17 +0800 |
commit | 0892c1cd94672e0dffe3b97fc4a85ea517b05598 (patch) | |
tree | 19aa0a631ed8c3135db83ceffaab34a8d2b9fddf /scripts/gen_lsp.lua | |
parent | 3222f0ad0079ce4bd4e45886a00e4fe4685fb5dd (diff) | |
download | rneovim-0892c1cd94672e0dffe3b97fc4a85ea517b05598.tar.gz rneovim-0892c1cd94672e0dffe3b97fc4a85ea517b05598.tar.bz2 rneovim-0892c1cd94672e0dffe3b97fc4a85ea517b05598.zip |
vim-patch:9.0.2033: gcc overflow-warning for f_resolve (#25666)
Problem: gcc overflow-warning for f_resolve
Solution: use pointer p instead of pointer q[-1]
Suppress the following warning:
```
filepath.c: In function ‘f_resolve’:
filepath.c:2162:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
2162 | q[-1] = NUL;
```
Closes: vim/vim#13352
closes: vim/vim#13353
https://github.com/vim/vim/commit/215c3261a25f7a99e8711a3b3c6158119c6aea9e
Co-authored-by: Ken Takata <kentkt@csc.jp>
Diffstat (limited to 'scripts/gen_lsp.lua')
0 files changed, 0 insertions, 0 deletions