1
0
forked from aniani/vim

updated for version 7.3.076

Problem:    Clang warnings for dead code.
Solution:   Remove it. (Carlo Teubner)
This commit is contained in:
Bram Moolenaar
2010-12-08 13:11:21 +01:00
parent 005c3c27ee
commit e980d8a934
6 changed files with 13 additions and 17 deletions

View File

@@ -586,9 +586,9 @@ void ex_rubydo(exarg_T *eap)
if (u_save(eap->line1 - 1, eap->line2 + 1) != OK)
return;
for (i = eap->line1; i <= eap->line2; i++) {
VALUE line, oldline;
VALUE line;
line = oldline = vim_str2rb_enc_str((char *)ml_get(i));
line = vim_str2rb_enc_str((char *)ml_get(i));
rb_lastline_set(line);
eval_enc_string_protect((char *) eap->arg, &state);
if (state) {