Patch 8.1.1528
Problem: Popup_any_visible() is unused.
Solution: Remove it.
Files: src/popupwin.c, src/proto/popupwin.pro
*** ../vim-8.1.1527/src/popupwin.c 2019-06-14 19:23:35.502289836 +0200
--- src/popupwin.c 2019-06-14 19:58:52.822867428 +0200
***************
*** 934,956 ****
}
/*
- * Return TRUE if there any popups that are not hidden.
- */
- int
- popup_any_visible(void)
- {
- win_T *wp;
-
- for (wp = first_popupwin; wp != NULL; wp = wp->w_next)
- if ((wp->w_popup_flags & POPF_HIDDEN) == 0)
- return TRUE;
- for (wp = curtab->tp_first_popupwin; wp != NULL; wp = wp->w_next)
- if ((wp->w_popup_flags & POPF_HIDDEN) == 0)
- return TRUE;
- return FALSE;
- }
-
- /*
* Invoke the close callback for window "wp" with value "result".
* Careful: The callback may make "wp" invalid!
*/
--- 934,939 ----
*** ../vim-8.1.1527/src/proto/popupwin.pro 2019-06-14 19:23:35.502289836
+0200
--- src/proto/popupwin.pro 2019-06-14 19:58:57.574847818 +0200
***************
*** 9,15 ****
void f_popup_create(typval_T *argvars, typval_T *rettv);
void f_popup_atcursor(typval_T *argvars, typval_T *rettv);
void f_popup_notification(typval_T *argvars, typval_T *rettv);
- int popup_any_visible(void);
void f_popup_close(typval_T *argvars, typval_T *rettv);
void f_popup_hide(typval_T *argvars, typval_T *rettv);
void f_popup_show(typval_T *argvars, typval_T *rettv);
--- 9,14 ----
*** ../vim-8.1.1527/src/version.c 2019-06-14 19:23:35.502289836 +0200
--- src/version.c 2019-06-14 19:58:46.986891490 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1528,
/**/
--
If Microsoft would build a car...
... the oil, water temperature, and alternator warning lights would
all be replaced by a single "General Protection Fault" warning light.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201906141801.x5EI12W5028380%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.