~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to extra/my_print_defaults.cc

  • Committer: Monty Taylor
  • Date: 2008-12-01 17:53:42 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: monty@bitters-20081201175342-hcvfaecqmljhv86g
Fixed Sun Studio warnings in mysys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
  printf("\nExample usage:\n%s --defaults-file=example.cnf client mysql\n", my_progname);
91
91
}
92
92
 
 
93
extern "C"
93
94
static bool
94
 
get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
95
 
               char *argument __attribute__((unused)))
 
95
get_one_option(int optid, const struct my_option *, char *)
96
96
{
97
97
  switch (optid) {
98
98
    case 'c':
178
178
  free((char*) load_default_groups);
179
179
  free_defaults(arguments);
180
180
 
181
 
  exit(error);
 
181
  return error;
182
182
}