patch 8.2.4355: unnecessary call to check_colorcolumn()
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes #9748)
diff --git a/src/option.c b/src/option.c
index 03274a4..91ea413 100644
--- a/src/option.c
+++ b/src/option.c
@@ -5604,7 +5604,7 @@
* After copying window options: update variables depending on options.
*/
void
-after_copy_winopt(win_T *wp UNUSED)
+after_copy_winopt(win_T *wp)
{
#ifdef FEAT_LINEBREAK
briopt_check(wp);
diff --git a/src/version.c b/src/version.c
index 2476818..1fc3bc6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4355,
+/**/
4354,
/**/
4353,
diff --git a/src/window.c b/src/window.c
index 4fb92e0..b2f01f6 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1414,10 +1414,6 @@
#endif
win_init_some(newp, oldp);
-
-#ifdef FEAT_SYN_HL
- check_colorcolumn(newp);
-#endif
#ifdef FEAT_TERMINAL
term_update_wincolor(newp);
#endif