summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-08 21:07:19 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-08 21:07:19 +0100
commitb56df00a4e9a874b96ad53b24a0e3b54e2d967c5 (patch)
tree5c2974e9e49246aa568a3274a2efc92bed900c0a
parent5d19ebfb9654b8998d694ff88fa4dcde94b0874c (diff)
downloadsink-b56df00a4e9a874b96ad53b24a0e3b54e2d967c5.tar.gz
sink-b56df00a4e9a874b96ad53b24a0e3b54e2d967c5.zip
Fixed warnings
-rw-r--r--common/facade.h2
-rw-r--r--examples/dummyresource/resourcefactory.cpp1
-rw-r--r--tests/genericresourcetest.cpp6
3 files changed, 1 insertions, 8 deletions
diff --git a/common/facade.h b/common/facade.h
index 13734f0..643ebec 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -82,7 +82,7 @@ private:
82 qint64 mLatestRevision; 82 qint64 mLatestRevision;
83}; 83};
84 84
85static ResultSet fullScan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &bufferType) 85static inline ResultSet fullScan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &bufferType)
86{ 86{
87 //TODO use a result set with an iterator, to read values on demand 87 //TODO use a result set with an iterator, to read values on demand
88 QVector<QByteArray> keys; 88 QVector<QByteArray> keys;
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp
index b742611..397ca5f 100644
--- a/examples/dummyresource/resourcefactory.cpp
+++ b/examples/dummyresource/resourcefactory.cpp
@@ -230,4 +230,3 @@ void DummyResourceFactory::registerFacades(Akonadi2::FacadeFactory &factory)
230 factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME); 230 factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME);
231} 231}
232 232
233#include "resourcefactory.moc"
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp
index 141a5f8..0c64659 100644
--- a/tests/genericresourcetest.cpp
+++ b/tests/genericresourcetest.cpp
@@ -14,12 +14,6 @@
14#include "genericresource.h" 14#include "genericresource.h"
15#include "definitions.h" 15#include "definitions.h"
16 16
17static void removeFromDisk(const QString &name)
18{
19 Akonadi2::Storage store(Akonadi2::storageLocation(), name, Akonadi2::Storage::ReadWrite);
20 store.removeFromDisk();
21}
22
23/** 17/**
24 * Test of the generic resource implementation. 18 * Test of the generic resource implementation.
25 * 19 *