summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-07-30 14:22:29 +0400
committerkostja@bodhi.(none) <>2007-07-30 14:22:29 +0400
commit80b48aea438babd21f8db508f610630cbd35075e (patch)
tree94f7040561d413753e742e554b4578dd97254079 /sql
parent64c5f996d18eb5f990361554299702a27adcb4e6 (diff)
downloadmariadb-git-80b48aea438babd21f8db508f610630cbd35075e.tar.gz
Fix a compilation warning.
Diffstat (limited to 'sql')
-rw-r--r--sql/handler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h
index cd9f9a91008..2caf9b20945 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -624,7 +624,6 @@ public:
int ha_external_lock(THD *thd, int lock_type)
{
- int rc;
DBUG_ENTER("ha_external_lock");
locked= lock_type != F_UNLCK;
DBUG_RETURN(external_lock(thd, lock_type));