summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-01-10 22:26:17 +0100
committerBram Moolenaar <Bram@vim.org>2012-01-10 22:26:17 +0100
commit70b2a56d5a8fd54f3d0707fa77dea86a4bd8195f (patch)
tree2144b21b49d79de16665fb585daf1e9cf66e85c0 /src/getchar.c
parent1f5965b3c4d2b29e167a5dfecdf0ec59fe4c45c0 (diff)
downloadvim-git-70b2a56d5a8fd54f3d0707fa77dea86a4bd8195f.tar.gz
updated for version 7.3.400v7.3.400
Problem: Compiler warnings for shadowed variables. Solution: Remove or rename the variables.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/getchar.c b/src/getchar.c
index c4457c4f0..3d6b0b23a 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -418,12 +418,12 @@ typeahead_noflush(c)
/*
* Remove the contents of the stuff buffer and the mapped characters in the
- * typeahead buffer (used in case of an error). If 'typeahead' is true,
+ * typeahead buffer (used in case of an error). If "flush_typeahead" is true,
* flush all typeahead characters (used when interrupted by a CTRL-C).
*/
void
-flush_buffers(typeahead)
- int typeahead;
+flush_buffers(flush_typeahead)
+ int flush_typeahead;
{
init_typebuf();
@@ -431,7 +431,7 @@ flush_buffers(typeahead)
while (read_stuff(TRUE) != NUL)
;
- if (typeahead) /* remove all typeahead */
+ if (flush_typeahead) /* remove all typeahead */
{
/*
* We have to get all characters, because we may delete the first part