summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authormonty@mysql.com/narttu.mysql.fi <>2007-01-22 15:52:15 +0200
committermonty@mysql.com/narttu.mysql.fi <>2007-01-22 15:52:15 +0200
commit807526ff7982bc108ee1355022e285d39579910c (patch)
treeae0f1a98a4c8478360e9c365fbd767264d164a43 /sql/table.cc
parenta3d3c852244421ab0de827b23e5b1d3747dc7feb (diff)
downloadmariadb-git-807526ff7982bc108ee1355022e285d39579910c.tar.gz
Fixed compiler warnings
Fixed wrong merge that disabled 'make test' Renamed all suppress files to end in '.supp' Don't give "skipped %d bytes from file" warnings in 5.0
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 4f1b8e6c833..f220c6e4cb5 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -2915,7 +2915,8 @@ Field_iterator_table_ref::get_or_create_column_ref(TABLE_LIST *parent_table_ref)
uint field_count;
TABLE_LIST *add_table_ref= parent_table_ref ?
parent_table_ref : table_ref;
-
+ LINT_INIT(field_count);
+
if (field_it == &table_field_it)
{
/* The field belongs to a stored table. */