~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/timestamp.cc

  • Committer: Monty Taylor
  • Date: 2009-01-23 06:03:42 UTC
  • mto: (801.1.3 testable) (779.3.2 devel)
  • mto: This revision was merged to the branch mainline in revision 811.
  • Revision ID: mordred@inaugust.com-20090123060342-i00afsgar78qz3nu
Got rid of __attribute__((unused)) and the like from the .cc files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 */
77
77
 
78
78
Field_timestamp::Field_timestamp(unsigned char *ptr_arg,
79
 
                                 uint32_t len_arg __attribute__((unused)),
 
79
                                 uint32_t ,
80
80
                                 unsigned char *null_ptr_arg, unsigned char null_bit_arg,
81
81
                                 enum utype unireg_check_arg,
82
82
                                 const char *field_name_arg,
149
149
 
150
150
int Field_timestamp::store(const char *from,
151
151
                           uint32_t len,
152
 
                           const CHARSET_INFO * const cs __attribute__((unused)))
 
152
                           const CHARSET_INFO * const )
153
153
{
154
154
  DRIZZLE_TIME l_time;
155
155
  time_t tmp= 0;
209
209
 
210
210
 
211
211
int Field_timestamp::store(int64_t nr,
212
 
                           bool unsigned_val __attribute__((unused)))
 
212
                           bool )
213
213
{
214
214
  DRIZZLE_TIME l_time;
215
215
  time_t timestamp= 0;
407
407
}
408
408
 
409
409
 
410
 
void Field_timestamp::sort_string(unsigned char *to,uint32_t length __attribute__((unused)))
 
410
void Field_timestamp::sort_string(unsigned char *to,uint32_t )
411
411
{
412
412
#ifdef WORDS_BIGENDIAN
413
413
  if (!table || !table->s->db_low_byte_first)