~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysql.cc

  • Committer: Monty Taylor
  • Date: 2008-07-05 10:49:39 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705104939-72e6upltbm3aq0lw
Changes so that client/ builds cleanly with no warnings.
Commented out -Wunreachable-code for now, because there is too much of it
with all the #ifdef'd members. We'll add it back in for a second pass over
the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1298
1298
 
1299
1299
 
1300
1300
#if defined(HAVE_TERMIOS_H) && defined(GWINSZ_IN_SYS_IOCTL)
1301
 
sig_handler window_resize(int sig)
 
1301
sig_handler window_resize(int sig __attribute__((__unused__)))
1302
1302
{
1303
1303
  struct winsize window_size;
1304
1304
 
3573
3573
}
3574
3574
 
3575
3575
static int
3576
 
com_tee(String *buffer, char *line __attribute__((unused)))
 
3576
com_tee(String *buffer __attribute__((__unused__)), char *line )
3577
3577
{
3578
3578
  char file_name[FN_REFLEN], *end, *param;
3579
3579
 
3849
3849
}
3850
3850
 
3851
3851
 
3852
 
static int com_source(String *buffer, char *line)
 
3852
static int com_source(String *buffer __attribute__((__unused__)), char *line)
3853
3853
{
3854
3854
  char source_name[FN_REFLEN], *end, *param;
3855
3855
  LINE_BUFFER *line_buff;
4719
4719
  }
4720
4720
}
4721
4721
 
4722
 
static int com_prompt(String *buffer, char *line)
 
4722
static int com_prompt(String *buffer __attribute__((__unused__)), char *line)
4723
4723
{
4724
4724
  char *ptr=strchr(line, ' ');
4725
4725
  prompt_counter = 0;