diff src/ops.c @ 2047:85da03763130 v7.2.333

updated for version 7.2.333 Problem: Warnings from static code analysis. Solution: Small changes to various lines. (Dominique Pelle)
author Bram Moolenaar <bram@zimbu.org>
date Tue, 19 Jan 2010 14:59:56 +0100
parents b8ab4ba6b110
children 2f6e519726f1
line wrap: on
line diff
--- a/src/ops.c
+++ b/src/ops.c
@@ -5591,13 +5591,13 @@ x11_export_final_selection()
 	 */
 	if (has_mbyte)
 	{
-	    char_u	*conv_str = str;
 	    vimconv_T	vc;
 
 	    vc.vc_type = CONV_NONE;
 	    if (convert_setup(&vc, p_enc, (char_u *)"latin1") == OK)
 	    {
-	        int intlen = len;
+		int	intlen = len;
+		char_u	*conv_str;
 
 		conv_str = string_convert(&vc, str, &intlen);
 		len = intlen;