summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_rcontext.cc')
-rw-r--r--sql/sp_rcontext.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sp_rcontext.cc b/sql/sp_rcontext.cc
index a25cd9ee63e..41502618cda 100644
--- a/sql/sp_rcontext.cc
+++ b/sql/sp_rcontext.cc
@@ -133,8 +133,6 @@ sp_rcontext::pop_cursors(uint count)
LEX *
sp_cursor::pre_open(THD *thd)
{
- int res;
-
if (m_isopen)
{
send_error(thd, ER_SP_CURSOR_ALREADY_OPEN);