Fix compile warnings in tests

This commit is contained in:
Christian Kamm 2016-06-07 09:42:56 +02:00
parent 48efbcb8ca
commit 6d02d76cfd
3 changed files with 0 additions and 3 deletions

View file

@ -30,7 +30,6 @@
static void setup(void **state) {
CSYNC *csync;
int rc;
csync_create(&csync, "/tmp/check_csync1", "/tmp/check_csync2");

View file

@ -74,7 +74,6 @@ static void teardown(void **state) {
static void check_csync_init(void **state)
{
CSYNC *csync = *state;
int rc;
csync_init(csync);

View file

@ -26,7 +26,6 @@ private slots:
bool excludeHidden = true;
bool keepHidden = false;
bool x = excluded.isExcluded("/a/b", "/a", keepHidden);
QVERIFY(!excluded.isExcluded("/a/b", "/a", keepHidden));
QVERIFY(!excluded.isExcluded("/a/b~", "/a", keepHidden));
QVERIFY(!excluded.isExcluded("/a/.b", "/a", keepHidden));