On 04/09/2012 09:54 AM, David Pope wrote:
This patch generates a warning on Windows x64 build (possibly other
64-bit builds too):
misc1.c
misc1.c(5813) : warning C4267: '=' : conversion from 'size_t' to
'int', possible loss of data
-- Dave
On Fri, Apr 6, 2012 at 7:56 AM, Bram Moolenaar <[email protected]
<mailto:[email protected]>> wrote:
Hong Xu wrote:
> On 04/05/2012 11:17 PM, Bram Moolenaar wrote:
> >
> > Patch 7.3.492
> > Problem: Can't indent conditions separately from function
arguments.
> > Solution: Add the 'k' flag in 'cino. (Lech Lorens)
> > Files: runtime/doc/indent.txt, src/misc1.c,
src/testdir/test3.in <http://test3.in>,
> > src/testdir/test3.ok
> >
> > <...>
> >
>
> I found this patch contains two unused variables. The attachment will
> fix this.
Thanks, I'll include this.
The attachment should simply fix this.
Hong
--
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
diff -r 969cb7b3cd81 src/misc1.c
--- a/src/misc1.c Fri Apr 06 14:31:00 2012 +0200
+++ b/src/misc1.c Mon Apr 09 17:07:13 2012 +0800
@@ -5779,7 +5779,7 @@
static int
cin_is_if_for_while_before_offset(line, offset, poffset)
char_u *line;
- size_t offset;
+ int offset;
int *poffset;
{