0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.435

Problem:    Compiler warning for unused variable.
Solution:   Move the variable inside #ifdef.
This commit is contained in:
Bram Moolenaar
2012-02-11 20:40:55 +01:00
parent 3fe37d62d1
commit c047b9a49f
2 changed files with 5 additions and 1 deletions

View File

@@ -3400,7 +3400,7 @@ getsourceline(c, cookie, indent)
{ {
struct source_cookie *sp = (struct source_cookie *)cookie; struct source_cookie *sp = (struct source_cookie *)cookie;
char_u *line; char_u *line;
char_u *p, *s; char_u *p;
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
/* If breakpoints have been added/deleted need to check for it. */ /* If breakpoints have been added/deleted need to check for it. */
@@ -3471,6 +3471,8 @@ getsourceline(c, cookie, indent)
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE
if (line != NULL && sp->conv.vc_type != CONV_NONE) if (line != NULL && sp->conv.vc_type != CONV_NONE)
{ {
char_u *s;
/* Convert the encoding of the script line. */ /* Convert the encoding of the script line. */
s = string_convert(&sp->conv, line, NULL); s = string_convert(&sp->conv, line, NULL);
if (s != NULL) if (s != NULL)

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
435,
/**/ /**/
434, 434,
/**/ /**/