diff options
author | unknown <konstantin@mysql.com> | 2004-06-21 20:39:19 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-06-21 20:39:19 +0400 |
commit | de6285928dc948cf2f2a4cf5139f7c072c5f5929 (patch) | |
tree | 8a8a924d8251e20daeaa06411dd7cec364493bde /sql/time.cc | |
parent | 6091a75f774ce8d3241c269db54a4f21784f0351 (diff) | |
download | mariadb-git-de6285928dc948cf2f2a4cf5139f7c072c5f5929.tar.gz |
Unused variables removed (many files).
sql/item_func.cc:
Unused variable 'thd' removed.
sql/item_subselect.cc:
Unused variable 'type' removed.
sql/slave.cc:
Unused variable 'return_val' removed.
sql/sql_derived.cc:
Unused variable 'is_subsel' removed.
sql/sql_parse.cc:
Unused variables 'pstr' and 'create_info' removed.
sql/sql_prepare.cc:
Unused variable 'res' removed.
sql/time.cc:
Unused variable 'str_begin' removed.
Diffstat (limited to 'sql/time.cc')
-rw-r--r-- | sql/time.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/time.cc b/sql/time.cc index 6a57dd1038c..b5550b98e8c 100644 --- a/sql/time.cc +++ b/sql/time.cc @@ -411,7 +411,6 @@ str_to_TIME(const char *str, uint length, TIME *l_time, uint flags, ulong not_zero_date, allow_space; bool is_internal_format; const char *pos, *last_field_pos; - const char *str_begin= str; const char *end=str+length; const uchar *format_position; bool found_delimitier= 0, found_space= 0; @@ -775,7 +774,6 @@ bool str_to_time(const char *str, uint length, TIME *l_time, int *was_cut) { long date[5],value; const char *end=str+length, *end_of_days; - const char *str_begin= str; bool found_days,found_hours; uint state; |