Commit 5c189423 authored by monty@donna.mysql.com's avatar monty@donna.mysql.com
Browse files

cleanups

parent e390213a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.
 */
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −2
Original line number Diff line number Diff line
@@ -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
  {