diff options
author | monty@hundin.mysql.fi <> | 2001-10-17 19:39:39 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-10-17 19:39:39 +0300 |
commit | 0bfec316ce62bf5f46b55888a0a9d593171c4eb5 (patch) | |
tree | a99a119a594cef911c36b9e84ddb7975f5747e05 /readline/isearch.c | |
parent | faa51dc2854d2a2e0fe09cad44702f57d26109ae (diff) | |
download | mariadb-git-0bfec316ce62bf5f46b55888a0a9d593171c4eb5.tar.gz |
Don't do signal() on windows (Causes instability problems)
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
Diffstat (limited to 'readline/isearch.c')
-rw-r--r-- | readline/isearch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/readline/isearch.c b/readline/isearch.c index ae8dce520f0..a4a294b6b20 100644 --- a/readline/isearch.c +++ b/readline/isearch.c @@ -97,7 +97,8 @@ rl_forward_search_history (sign, key) static void rl_display_search (search_string, reverse_p, where) char *search_string; - int reverse_p, where; + int reverse_p; + int where __attribute__((unused)); { char *message; int msglen, searchlen; @@ -144,8 +145,7 @@ rl_display_search (search_string, reverse_p, where) DIRECTION is which direction to search; >= 0 means forward, < 0 means backwards. */ static int -rl_search_history (direction, invoking_key) - int direction, invoking_key; +rl_search_history (int direction, int invoking_key __attribute__((unused))) { /* The string that the user types in to search for. */ char *search_string; |