summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-07-30 14:22:29 +0400
committerunknown <kostja@bodhi.(none)>2007-07-30 14:22:29 +0400
commiteb6c85e7552dcf63f2b2ed065051f571425d8426 (patch)
tree94f7040561d413753e742e554b4578dd97254079
parent151e6aba09c20314c13a410b3c90cb79c1701fce (diff)
downloadmariadb-git-eb6c85e7552dcf63f2b2ed065051f571425d8426.tar.gz
Fix a compilation warning.
sql/handler.h: Fix a warning.
-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));