diff options
author | unknown <konstantin@mysql.com> | 2003-12-10 22:26:31 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2003-12-10 22:26:31 +0300 |
commit | ceab00b0c8ac072d83f565ac6c0f86bf8e0c22f3 (patch) | |
tree | bbfbb126a26544bfe84128c5ea57d8cc2355ef69 /sql/opt_range.cc | |
parent | 4c00978b43921525d59f52da1ad13b516da16f1e (diff) | |
download | mariadb-git-ceab00b0c8ac072d83f565ac6c0f86bf8e0c22f3.tar.gz |
cleanup: if there is return from if-part, we don't need else statement
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 4bbeaca8a79..02b7699fad6 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -1474,7 +1474,7 @@ key_or(SEL_ARG *key1,SEL_ARG *key2) } return 0; } - else if (!key2) + if (!key2) { key1->use_count--; key1->free_tree(); |