diff options
author | lenz@mysql.com <> | 2005-01-11 15:38:03 +0100 |
---|---|---|
committer | lenz@mysql.com <> | 2005-01-11 15:38:03 +0100 |
commit | 0d08e9b2c2174438b13b3c73c5e1b6c9dae84c0c (patch) | |
tree | 946ba196628eebc265f7596a2b342d1c73f2be3c /sql/strfunc.cc | |
parent | af7dcec56d6f24f18d3ae023ad32bd36f4abe448 (diff) | |
download | mariadb-git-0d08e9b2c2174438b13b3c73c5e1b6c9dae84c0c.tar.gz |
- Housekeeping: removed a few unreferenced variables, noticed while doing
Windows builds
Diffstat (limited to 'sql/strfunc.cc')
-rw-r--r-- | sql/strfunc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/strfunc.cc b/sql/strfunc.cc index 3ad6b1155d1..81aca092cec 100644 --- a/sql/strfunc.cc +++ b/sql/strfunc.cc @@ -147,7 +147,7 @@ uint find_type(TYPELIB *lib, const char *find, uint length, bool part_match) uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs) { - int find,pos,findpos; + int find,pos; const char *j; DBUG_ENTER("find_type2"); DBUG_PRINT("enter",("x: '%s' lib: 0x%lx",x,typelib)); @@ -157,7 +157,7 @@ uint find_type2(TYPELIB *typelib, const char *x, uint length, CHARSET_INFO *cs) DBUG_PRINT("exit",("no count")); DBUG_RETURN(0); } - LINT_INIT(findpos); + for (find=0, pos=0 ; (j=typelib->type_names[pos]) ; pos++) { if (!my_strnncoll(cs, (const uchar*) x, length, |