summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-01-19 14:59:56 +0100
committerBram Moolenaar <Bram@vim.org>2010-01-19 14:59:56 +0100
commit2660c0ea9be48b57b5b7f613fdd6add99c643c80 (patch)
tree4516eeafe1e08e8386f4b1260d3f15ea5bdea75c /src/ops.c
parent3ea38ef23944f3d49c126b94708e2d4a540bca42 (diff)
downloadvim-git-2660c0ea9be48b57b5b7f613fdd6add99c643c80.tar.gz
updated for version 7.2.333v7.2.333
Problem: Warnings from static code analysis. Solution: Small changes to various lines. (Dominique Pelle)
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ops.c b/src/ops.c
index 5b12e68df..4b32b5733 100644
--- 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;