summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline/rltty.c
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2007-04-30 18:49:38 +0200
committerunknown <istruewing@chilla.local>2007-04-30 18:49:38 +0200
commit0f824dc212f9de5c8bc7590bb89b93d48955bc64 (patch)
tree7bf9e4313e01d0144b146d2529bbcd3ad6fc7607 /cmd-line-utils/readline/rltty.c
parent84c0830bef22b9626feab53897ea493f1cc36f92 (diff)
downloadmariadb-git-0f824dc212f9de5c8bc7590bb89b93d48955bc64.tar.gz
WL#2936 - Falcon & MySQL plugin interface: server variables
Avoid compiler warnings cmd-line-utils/readline/rltty.c: Avoid a compiler warning config/ac-macros/misc.m4: Avoid a compiler warning, which could abort ./configure if CFLAGS contain -Werror.
Diffstat (limited to 'cmd-line-utils/readline/rltty.c')
-rw-r--r--cmd-line-utils/readline/rltty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-line-utils/readline/rltty.c b/cmd-line-utils/readline/rltty.c
index ffbae1e08af..869538af9ab 100644
--- a/cmd-line-utils/readline/rltty.c
+++ b/cmd-line-utils/readline/rltty.c
@@ -139,8 +139,7 @@ static int ksrflow;
/* Dummy call to force a backgrounded readline to stop before it tries
to get the tty settings. */
static void
-set_winsize (tty)
- int tty;
+set_winsize (int tty __attribute__((unused)))
{
#if defined (TIOCGWINSZ)
struct winsize w;