mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
Merge pull request #1741 from oni-link/fix_cid_90712
coverity/90712: Remove unnecessary check for NULL.
This commit is contained in:
commit
4840f59272
@ -3645,10 +3645,8 @@ int check_abbr(int c, char_u *ptr, int col, int mincol)
|
||||
if (vim_strbyte(mp->m_keys, K_SPECIAL) != NULL) {
|
||||
/* might have CSI escaped mp->m_keys */
|
||||
q = vim_strsave(mp->m_keys);
|
||||
if (q != NULL) {
|
||||
vim_unescape_csi(q);
|
||||
qlen = (int)STRLEN(q);
|
||||
}
|
||||
vim_unescape_csi(q);
|
||||
qlen = (int)STRLEN(q);
|
||||
}
|
||||
/* find entries with right mode and keys */
|
||||
match = (mp->m_mode & State)
|
||||
|
Loading…
Reference in New Issue
Block a user