0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

Fix compiler warnings for shadowed variables. Make 'conceal' a long instead

of int.
This commit is contained in:
Bram Moolenaar
2010-06-22 06:28:58 +02:00
parent 7cfea75ed6
commit f506c5bb1c
9 changed files with 43 additions and 43 deletions

View File

@@ -3342,8 +3342,8 @@ time_diff(then, now)
}
void
time_msg(msg, tv_start)
char *msg;
time_msg(mesg, tv_start)
char *mesg;
void *tv_start; /* only for do_source: start time; actually
(struct timeval *) */
{
@@ -3352,7 +3352,7 @@ time_msg(msg, tv_start)
if (time_fd != NULL)
{
if (strstr(msg, "STARTING") != NULL)
if (strstr(mesg, "STARTING") != NULL)
{
gettimeofday(&start, NULL);
prev_timeval = start;
@@ -3370,7 +3370,7 @@ time_msg(msg, tv_start)
fprintf(time_fd, " ");
time_diff(&prev_timeval, &now);
prev_timeval = now;
fprintf(time_fd, ": %s\n", msg);
fprintf(time_fd, ": %s\n", mesg);
}
}