diff src/ex_cmds2.c @ 3336:afbf45d85496 v7.3.435

updated for version 7.3.435 Problem: Compiler warning for unused variable. Solution: Move the variable inside #ifdef.
author Bram Moolenaar <bram@vim.org>
date Sat, 11 Feb 2012 20:40:55 +0100
parents 8a731d7f0664
children e6392f2aed4c
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3400,7 +3400,7 @@ getsourceline(c, cookie, indent)
 {
     struct source_cookie *sp = (struct source_cookie *)cookie;
     char_u		*line;
-    char_u		*p, *s;
+    char_u		*p;
 
 #ifdef FEAT_EVAL
     /* If breakpoints have been added/deleted need to check for it. */
@@ -3471,6 +3471,8 @@ getsourceline(c, cookie, indent)
 #ifdef FEAT_MBYTE
     if (line != NULL && sp->conv.vc_type != CONV_NONE)
     {
+	char_u	*s;
+
 	/* Convert the encoding of the script line. */
 	s = string_convert(&sp->conv, line, NULL);
 	if (s != NULL)