Tony Mechelynck wrote:
> On 11/02/14 18:42, Bram Moolenaar wrote:
> >
> > Tony Mechelynck wrote:
> >
> >> On 11/02/14 16:00, Bram Moolenaar wrote:
> >>>
> >>> Patch 7.4.174
> >>> Problem: Compiler warnings for Python interface. (Tony Mechelynck)
> >>> Solution: Add type casts, initialize variable.
> >>> Files: src/if_py_both.h
> >>
> >> In incremental build for patches 173-175 I get the following:
> >>
> >> - In tiny build but not in huge build:
> >
> > I know how to fix the unused variable problem.
> >
> > I do not get the other error myself. Can you please check if this works
> > around it:
> >
> > else if (flags & DICT_FLAG_RETURN_BOOL)
> > {
> > ret = Py_True;
> > Py_INCREF(ret);
> > return ret;
> > }
> >
> >
>
> This makes the warning disappear, yes. I'm attaching the git-style patch
> as produced by Mercurial with the mq extension enabled.
Thanks for checking the fix.
--
FATHER: One day, lad, all this will be yours ...
PRINCE: What - the curtains?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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/groups/opt_out.