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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user