0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Avoid warnings from the clang compiler. (Dominique Pelle)

This commit is contained in:
Bram Moolenaar
2010-08-13 11:18:02 +02:00
parent 0e97531298
commit 2f1e050414
4 changed files with 11 additions and 11 deletions

View File

@@ -2080,9 +2080,9 @@ do_viminfo(fp_in, fp_out, flags)
/* Write the info: */
fprintf(fp_out, _("# This viminfo file was generated by Vim %s.\n"),
VIM_VERSION_MEDIUM);
fprintf(fp_out, _("# You may edit it if you're careful!\n\n"));
fputs(_("# You may edit it if you're careful!\n\n"), fp_out);
#ifdef FEAT_MBYTE
fprintf(fp_out, _("# Value of 'encoding' when this file was written\n"));
fputs(_("# Value of 'encoding' when this file was written\n"), fp_out);
fprintf(fp_out, "*encoding=%s\n\n", p_enc);
#endif
write_viminfo_search_pattern(fp_out);
@@ -5422,7 +5422,7 @@ write_viminfo_sub_string(fp)
{
if (get_viminfo_parameter('/') != 0 && old_sub != NULL)
{
fprintf(fp, _("\n# Last Substitute String:\n$"));
fputs(_("\n# Last Substitute String:\n$"), fp);
viminfo_writestring(fp, old_sub);
}
}