diff: Silence -V519

Not exactly a false positive, but previous assignment is a part of the pattern 
“change global, run code which uses it, change global back”.
This commit is contained in:
ZyX
2017-04-16 19:27:17 +03:00
parent 33952a7661
commit a096766ee3

View File

@@ -1076,8 +1076,8 @@ void diff_win_options(win_T *wp, int addbuf)
if (!wp->w_p_diff) {
wp->w_p_wrap_save = wp->w_p_wrap;
}
wp->w_p_wrap = FALSE;
curwin = wp;
wp->w_p_wrap = false;
curwin = wp; // -V519
curbuf = curwin->w_buffer;
if (!wp->w_p_diff) {