Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-12-10 14:04:58 +0300
committerHannah von Reth <vonreth@kde.org>2021-12-15 12:52:23 +0300
commitdb85693c10961ec9306bfdcaf7453180dca75440 (patch)
tree61bf52a79c29d60be534bd44d99031934707f39a /test
parentf77ab8804378f925cebae2ad50f3068d82b9a6e3 (diff)
Make clang happy
Diffstat (limited to 'test')
-rw-r--r--test/testoauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testoauth.cpp b/test/testoauth.cpp
index 0047b3efb..b897cef1d 100644
--- a/test/testoauth.cpp
+++ b/test/testoauth.cpp
@@ -126,7 +126,7 @@ public:
return this->statusPhpReply(op, req);
}
OC_ASSERT(device);
- OC_ASSERT(device->bytesAvailable() > 0); // OAuth2 always sends around POST data.
+ OC_ASSERT(device && device->bytesAvailable() > 0); // OAuth2 always sends around POST data.
return this->tokenReply(op, req);
});