diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-12-10 14:04:58 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-12-15 12:52:23 +0300 |
commit | db85693c10961ec9306bfdcaf7453180dca75440 (patch) | |
tree | 61bf52a79c29d60be534bd44d99031934707f39a /test | |
parent | f77ab8804378f925cebae2ad50f3068d82b9a6e3 (diff) |
Make clang happy
Diffstat (limited to 'test')
-rw-r--r-- | test/testoauth.cpp | 2 |
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); }); |