~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_malloc.cc

  • Committer: Monty Taylor
  • Date: 2008-11-04 13:22:55 UTC
  • mto: (575.1.7 fix-headers)
  • mto: This revision was merged to the branch mainline in revision 577.
  • Revision ID: monty@inaugust.com-20081104132255-l9dhglk4ix6vd3u7
Changed a bunch of __attribute__((unused)) to removing the parameter name instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  return pos;
80
80
}
81
81
 
82
 
void sql_element_free(void *ptr __attribute__((unused)))
 
82
void sql_element_free(void *)
83
83
{} /* purecov: deadcode */
84
84
 
85
85
 
86
86
 
87
87
char *sql_strmake_with_convert(const char *str, size_t arg_length,
88
 
                               const CHARSET_INFO * const from_cs,
89
 
                               size_t max_res_length,
90
 
                               const CHARSET_INFO * const to_cs, size_t *result_length)
 
88
                               const CHARSET_INFO * const from_cs,
 
89
                               size_t max_res_length,
 
90
                               const CHARSET_INFO * const to_cs,
 
91
                               size_t *result_length)
91
92
{
92
93
  char *pos;
93
94
  size_t new_length= to_cs->mbmaxlen*arg_length;