Mercurial > vim
comparison src/viminfo.c @ 19760:9daed26b788b v8.2.0436
patch 8.2.0436: no warnings for incorrect printf arguments
Commit: https://github.com/vim/vim/commit/db99f9f29a248b84742b6779c3343123f72065e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 22:12:22 2020 +0100
patch 8.2.0436: no warnings for incorrect printf arguments
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 22:15:05 +0100 |
parents | b7abf45d527b |
children | 1f42c49c3d29 |
comparison
equal
deleted
inserted
replaced
19759:321ee36ae10c | 19760:9daed26b788b |
---|---|
2990 fp = mch_fopen((char *)fname, READBIN); | 2990 fp = mch_fopen((char *)fname, READBIN); |
2991 | 2991 |
2992 if (p_verbose > 0) | 2992 if (p_verbose > 0) |
2993 { | 2993 { |
2994 verbose_enter(); | 2994 verbose_enter(); |
2995 smsg(_("Reading viminfo file \"%s\"%s%s%s"), | 2995 smsg(_("Reading viminfo file \"%s\"%s%s%s%s"), |
2996 fname, | 2996 fname, |
2997 (flags & VIF_WANT_INFO) ? _(" info") : "", | 2997 (flags & VIF_WANT_INFO) ? _(" info") : "", |
2998 (flags & VIF_WANT_MARKS) ? _(" marks") : "", | 2998 (flags & VIF_WANT_MARKS) ? _(" marks") : "", |
2999 (flags & VIF_GET_OLDFILES) ? _(" oldfiles") : "", | 2999 (flags & VIF_GET_OLDFILES) ? _(" oldfiles") : "", |
3000 fp == NULL ? _(" FAILED") : ""); | 3000 fp == NULL ? _(" FAILED") : ""); |