Dominique wrote:
> Bram Moolenaar <[email protected]> wrote:
>
> > Patch 7.4.434
> > Problem: gettabvar() is not consistent with getwinvar() and getbufvar().
> > Solution: Return a dict with all variables when the varname is empty.
> > (Yasuhiro Matsumoto)
> > Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test91.in,
> > src/testdir/test91.ok
>
> Hi
>
> Something is wrong with patch 7.4.434. I get this compilation
> warning with clang:
>
> eval.c:12089:38: warning: variable 'win' is uninitialized when used
> here [-Wuninitialized]
> switch_win(&oldcurwin, &oldtabpage, win, tp, TRUE);
> ^~~
> eval.c:12074:15: note: initialize the variable 'win' to silence this warning
> win_T *win, *oldcurwin;
> ^
> = NULL
I also noticed the problem. I'm now testing a fix: pass the first
window of the tabpage.
--
hundred-and-one symptoms of being an internet addict:
115. You are late picking up your kid from school and try to explain
to the teacher you were stuck in Web traffic.
/// 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].
For more options, visit https://groups.google.com/d/optout.