forked from aniani/vim
patch 7.4.821
Problem: Coverity reports a few problems. Solution: Avoid the warnings. (Christian Brabandt)
This commit is contained in:
@@ -9990,6 +9990,8 @@ unset_global_local_option(name, from)
|
||||
buf_T *buf = (buf_T *)from;
|
||||
|
||||
opt_idx = findoption(name);
|
||||
if (opt_idx < 0)
|
||||
return;
|
||||
p = &(options[opt_idx]);
|
||||
|
||||
switch ((int)p->indir)
|
||||
|
Reference in New Issue
Block a user