Commit ed26e66a authored by unknown's avatar unknown

cleanups


include/violite.h:
  Removed not used parameter
libmysql/libmysql.c:
  cleanup
sql/violite.c:
  Removed not used parameter
parent 148f18fb
......@@ -70,8 +70,7 @@ my_bool vio_is_blocking( Vio* vio);
/*
* setsockopt TCP_NODELAY at IPPROTO_TCP level, when possible.
*/
int vio_fastsend( Vio* vio,
my_bool onoff);
int vio_fastsend( Vio* vio,);
/*
* setsockopt SO_KEEPALIVE at SOL_SOCKET level, when possible.
*/
......
......@@ -576,7 +576,7 @@ append_wild(char *to, char *end, const char *wild)
**************************************************************************/
void STDCALL
mysql_debug(const char *debug)
mysql_debug(const char *debug __attribute__((unused)))
{
#ifndef DBUG_OFF
char *env;
......
......@@ -265,11 +265,10 @@ vio_is_blocking(Vio * vio)
}
int vio_fastsend(Vio * vio __attribute__((unused)), my_bool onoff)
int vio_fastsend(Vio * vio __attribute__((unused)))
{
int r=0;
DBUG_ENTER("vio_fastsend");
DBUG_PRINT("enter", ("onoff:%d", (int) onoff));
#ifdef IPTOS_THROUGHPUT
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment