forked from qt-creator/qt-creator
Unittest: Work around warning for unused parameter
Amends 7fada70e8f
.
Change-Id: Ic47526a497c67dab48903b6500a37bab742034fd
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -220,6 +220,7 @@ std::ostream &operator<<(std::ostream &out, const ValueView &value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
#if 0
|
||||||
Utils::SmallStringView operationText(int operation)
|
Utils::SmallStringView operationText(int operation)
|
||||||
{
|
{
|
||||||
switch (operation) {
|
switch (operation) {
|
||||||
@@ -236,7 +237,6 @@ Utils::SmallStringView operationText(int operation)
|
|||||||
|
|
||||||
std::ostream &operator<<(std::ostream &out, sqlite3_changeset_iter *iter)
|
std::ostream &operator<<(std::ostream &out, sqlite3_changeset_iter *iter)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
out << "(";
|
out << "(";
|
||||||
|
|
||||||
const char *tableName = nullptr;
|
const char *tableName = nullptr;
|
||||||
@@ -279,9 +279,9 @@ std::ostream &operator<<(std::ostream &out, sqlite3_changeset_iter *iter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
out << "})";
|
out << "})";
|
||||||
#endif
|
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *toText(Operation operation)
|
const char *toText(Operation operation)
|
||||||
{
|
{
|
||||||
@@ -316,6 +316,7 @@ const char *toText(LockingMode lockingMode)
|
|||||||
|
|
||||||
std::ostream &operator<<(std::ostream &out, const SessionChangeSet &changeset)
|
std::ostream &operator<<(std::ostream &out, const SessionChangeSet &changeset)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(changeset)
|
||||||
#if 0
|
#if 0
|
||||||
sqlite3_changeset_iter *iter = nullptr;
|
sqlite3_changeset_iter *iter = nullptr;
|
||||||
sqlite3changeset_start(&iter, changeset.size(), const_cast<void *>(changeset.data()));
|
sqlite3changeset_start(&iter, changeset.size(), const_cast<void *>(changeset.data()));
|
||||||
|
Reference in New Issue
Block a user