summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-12-13 04:19:23 +0300
committerunknown <kostja@bodhi.(none)>2007-12-13 04:19:23 +0300
commit9e7abc2c71103ac59d6475a90eb77d6abc08063e (patch)
tree0aab7bb0182e044626e6480cbcc494d929a35440 /sql/protocol.cc
parentb9b385014048c9bad563f1fbf952e716b3d1e6e0 (diff)
downloadmariadb-git-9e7abc2c71103ac59d6475a90eb77d6abc08063e.tar.gz
Fix a compilation error.
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index f7b3a496447..c1fc1ce8643 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -74,7 +74,6 @@ bool Protocol_binary::net_store_data(const uchar *from, size_t length)
*/
void net_send_error(THD *thd, uint sql_errno, const char *err)
{
- NET *net= &thd->net;
DBUG_ENTER("net_send_error");
DBUG_ASSERT(!thd->spcont);