~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/tztime.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:33:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709163352-yv7jbu81frc1l4ec
Finished the warnings work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
727
727
    0
728
728
*/
729
729
my_time_t
730
 
Time_zone_utc::TIME_to_gmt_sec(const MYSQL_TIME *t, bool *in_dst_time_gap) const
 
730
Time_zone_utc::TIME_to_gmt_sec(const MYSQL_TIME *t __attribute__((__unused__)),
 
731
                               bool *in_dst_time_gap __attribute__((__unused__))) const
731
732
{
732
733
  /* Should be never called */
733
734
  DBUG_ASSERT(0);
938
939
    Corresponding my_time_t value or 0 in case of error
939
940
*/
940
941
my_time_t
941
 
Time_zone_offset::TIME_to_gmt_sec(const MYSQL_TIME *t, bool *in_dst_time_gap) const
 
942
Time_zone_offset::TIME_to_gmt_sec(const MYSQL_TIME *t,
 
943
                                  bool *in_dst_time_gap __attribute__((__unused__))) const
942
944
{
943
945
  my_time_t local_t;
944
946
  int shift= 0;
1051
1053
    1 - Error
1052
1054
*/
1053
1055
bool
1054
 
my_tz_init(THD *thd, const char *default_tzname, bool bootstrap)
 
1056
my_tz_init(THD *thd, const char *default_tzname,
 
1057
           bool bootstrap __attribute__((__unused__)))
1055
1058
{
1056
1059
  if (default_tzname)
1057
1060
  {
1169
1172
 
1170
1173
*/
1171
1174
Time_zone *
1172
 
my_tz_find(THD *thd, const String *name)
 
1175
my_tz_find(THD *thd __attribute__((__unused__)),
 
1176
           const String *name __attribute__((__unused__)))
1173
1177
{
1174
1178
  return NULL;
1175
1179
}