summaryrefslogtreecommitdiffstats
path: root/common/storage_lmdb.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 10:06:07 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 10:06:07 +0100
commit7c52358e3fc9798715895a57e6eee3274a2b84f3 (patch)
treee6adcd276e45dc3e396000a8ee987d43cd51a566 /common/storage_lmdb.cpp
parent80531ad4cd7fc957c090124128a7ffc55650071c (diff)
downloadsink-7c52358e3fc9798715895a57e6eee3274a2b84f3.tar.gz
sink-7c52358e3fc9798715895a57e6eee3274a2b84f3.zip
Fixed warnings
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r--common/storage_lmdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp
index 8b29681..893c37c 100644
--- a/common/storage_lmdb.cpp
+++ b/common/storage_lmdb.cpp
@@ -463,7 +463,7 @@ QList<QByteArray> Storage::Transaction::getDatabaseNames() const
463 MDB_val data; 463 MDB_val data;
464 MDB_cursor *cursor; 464 MDB_cursor *cursor;
465 465
466 rc = mdb_cursor_open(d->transaction, d->dbi, &cursor); 466 mdb_cursor_open(d->transaction, d->dbi, &cursor);
467 if ((rc = mdb_cursor_get(cursor, &key, &data, MDB_FIRST)) == 0) { 467 if ((rc = mdb_cursor_get(cursor, &key, &data, MDB_FIRST)) == 0) {
468 list << QByteArray::fromRawData((char*)key.mv_data, key.mv_size); 468 list << QByteArray::fromRawData((char*)key.mv_data, key.mv_size);
469 while ((rc = mdb_cursor_get(cursor, &key, &data, MDB_NEXT)) == 0) { 469 while ((rc = mdb_cursor_get(cursor, &key, &data, MDB_NEXT)) == 0) {