diff options
author | Tobias Fella <fella@posteo.de> | 2021-12-25 16:00:09 +0100 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-25 16:00:25 +0100 |
commit | f4d6a08811b0bf3a10a23ff703fc5a8ff1fcc624 (patch) | |
tree | 03b6d33848a9eaf156cafa4db0156a295628606c /lib/e2ee/qolmaccount.cpp | |
parent | f01427c307c825feaa6c45888c259903605c9796 (diff) | |
download | libquotient-f4d6a08811b0bf3a10a23ff703fc5a8ff1fcc624.tar.gz libquotient-f4d6a08811b0bf3a10a23ff703fc5a8ff1fcc624.zip |
Apply suggestions
Diffstat (limited to 'lib/e2ee/qolmaccount.cpp')
-rw-r--r-- | lib/e2ee/qolmaccount.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/e2ee/qolmaccount.cpp b/lib/e2ee/qolmaccount.cpp index ffb004cc..a984f884 100644 --- a/lib/e2ee/qolmaccount.cpp +++ b/lib/e2ee/qolmaccount.cpp @@ -34,9 +34,7 @@ bool operator==(const IdentityKeys& lhs, const IdentityKeys& rhs) // Convert olm error to enum QOlmError lastError(OlmAccount *account) { - const auto error_raw = olm_account_last_error(account); - - return fromString(error_raw); + return fromString(olm_account_last_error(account)); } QByteArray getRandom(size_t bufferSize) |