diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-22 06:28:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-22 06:28:58 +0200 |
commit | f506c5bb1c0c191511316b4b9b2e9a5af176d446 (patch) | |
tree | b01e3afaefbe7db1a7ce9052d68396225053a190 /src/main.c | |
parent | 7cfea75ed6897c81dc129490dd894b1ddeebf433 (diff) |
Fix compiler warnings for shadowed variables. Make 'conceal' a long instead
of int.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index 0f29255864..1b2e6ee694 100644 --- a/src/main.c +++ b/src/main.c @@ -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); } } |