From 1e5b12d0c7c54f6063c9eb1e7815a0a09a2ef449 Mon Sep 17 00:00:00 2001 From: Grzegorz Rychlik Date: Thu, 14 May 2020 16:36:32 +0200 Subject: [PATCH] Remove ununsed variable --- Src/Common/FSecure/Sql/Sql.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Src/Common/FSecure/Sql/Sql.hpp b/Src/Common/FSecure/Sql/Sql.hpp index ebc5df5..58d8ab5 100644 --- a/Src/Common/FSecure/Sql/Sql.hpp +++ b/Src/Common/FSecure/Sql/Sql.hpp @@ -76,7 +76,6 @@ namespace FSecure::Sql do { SQLCHAR buf[bufferSize]; - auto oldSize = out.size(); auto status = SQLGetData(m_Stmt.get(), columnNumber, SQL_CHAR, buf, bufferSize, &dataLen); if (status == SQL_ERROR) throw std::runtime_error{ OBF("Failed to read data. coulmn number") + std::to_string(columnNumber) };