~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/my_decimal.h

  • 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:
278
278
 
279
279
 
280
280
inline
281
 
int my_decimal2double(uint mask, const my_decimal *d, double *result)
 
281
int my_decimal2double(uint mask __attribute__((__unused__)), 
 
282
                      const my_decimal *d, double *result)
282
283
{
283
284
  /* No need to call check_result as this will always succeed */
284
285
  return decimal2double((decimal_t*) d, result);