[geany/geany] af3ad0: Rename variable to avoid warning about variable being shadowed
Jiří Techet
git-noreply at xxxxx
Fri Jul 22 22:36:04 UTC 2016
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Fri, 22 Jul 2016 22:36:04 UTC
Commit: af3ad0b6f0b877696f832d9c719b9ee6864035bb
https://github.com/geany/geany/commit/af3ad0b6f0b877696f832d9c719b9ee6864035bb
Log Message:
-----------
Rename variable to avoid warning about variable being shadowed
Modified Paths:
--------------
ctags/main/mio.c
Modified: ctags/main/mio.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -590,13 +590,13 @@ int mio_vprintf (MIO *mio, const char *format, va_list ap)
size_t old_pos;
size_t old_size;
va_list ap_copy;
- char c;
+ char dummy;
old_pos = mio->impl.mem.pos;
old_size = mio->impl.mem.size;
va_copy (ap_copy, ap);
/* compute the size we will need into the buffer */
- n = vsnprintf (&c, 1, format, ap_copy);
+ n = vsnprintf (&dummy, 1, format, ap_copy);
va_end (ap_copy);
if (mem_try_ensure_space (mio, n))
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list