~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_func.h

Renamed __attribute__((__unused__)) to __attribute__((unused)). 
It takes up a few less chars, but also seems to be the standard usage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
  void fix_num_length_and_dec();
287
287
  void find_num_type();
288
 
  String *str_op(String *str __attribute__((__unused__)))
 
288
  String *str_op(String *str __attribute__((unused)))
289
289
  { assert(0); return 0; }
290
290
};
291
291
 
303
303
  }
304
304
 
305
305
  void find_num_type();
306
 
  String *str_op(String *str __attribute__((__unused__)))
 
306
  String *str_op(String *str __attribute__((unused)))
307
307
  { assert(0); return 0; }
308
308
};
309
309
 
991
991
{
992
992
protected:
993
993
  udf_handler udf;
994
 
  bool is_expensive_processor(uchar *arg __attribute__((__unused__)))
 
994
  bool is_expensive_processor(uchar *arg __attribute__((unused)))
995
995
  { return true; }
996
996
 
997
997
public:
1001
1001
    :Item_func(list), udf(udf_arg) {}
1002
1002
  const char *func_name() const { return udf.name(); }
1003
1003
  enum Functype functype() const   { return UDF_FUNC; }
1004
 
  bool fix_fields(THD *thd, Item **ref __attribute__((__unused__)))
 
1004
  bool fix_fields(THD *thd, Item **ref __attribute__((unused)))
1005
1005
  {
1006
1006
    assert(fixed == 0);
1007
1007
    bool res= udf.fix_fields(thd, this, arg_count, args);