summaryrefslogtreecommitdiff
path: root/libmysqlpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 18:48:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-10 18:48:42 +0000
commit74992867390e6d51d7d1962886a1036192fe780d (patch)
tree6e4dbb8e92f33d8aaa385ab6bd583f62ccc4f76f /libmysqlpp
parentRemove unused shadowing length variable (diff)
downloadlibdbpp-mysql-74992867390e6d51d7d1962886a1036192fe780d.tar.bz2
libdbpp-mysql-74992867390e6d51d7d1962886a1036192fe780d.tar.xz
libdbpp-mysql-74992867390e6d51d7d1962886a1036192fe780d.zip
Remove unreachable code
Diffstat (limited to 'libmysqlpp')
-rw-r--r--libmysqlpp/my-command.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmysqlpp/my-command.cpp b/libmysqlpp/my-command.cpp
index a5efeef..539fbf6 100644
--- a/libmysqlpp/my-command.cpp
+++ b/libmysqlpp/my-command.cpp
@@ -162,7 +162,6 @@ MySQL::Command::bindParams()
if (paramsNeedBinding) {
if (mysql_stmt_bind_param(stmt, &binds.front())) {
throw Error(stmt);
- paramsNeedBinding = false;
}
}
}