summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-09-23 15:21:29 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-09-23 15:21:29 +0200
commit8b9843408d8b1068798228f397cd1a20fa56f504 (patch)
treebe24d592bff31a5a07c28cb307d81ed4f01b925a /sql/partition_info.cc
parent613297ff1e66a0fcf517e4e1bcf2a573d2e2c815 (diff)
downloadmariadb-git-8b9843408d8b1068798228f397cd1a20fa56f504.tar.gz
Bug #43414 Parenthesis (and other) warnings compiling MySQL
with gcc 4.3.2 Cleaning up warnings not present in 5.0.
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r--sql/partition_info.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index e2027d3571e..ba9ea0e876e 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -483,10 +483,8 @@ static bool check_engine_condition(partition_element *p_elem,
{
DBUG_RETURN(TRUE);
}
- else
- {
- DBUG_RETURN(FALSE);
- }
+
+ DBUG_RETURN(FALSE);
}