fix syntax error

This commit is contained in:
Dario 2020-07-15 14:28:17 +02:00
parent 1b3cd9701c
commit da72e46a15

View File

@ -295,7 +295,7 @@ namespace controller {
//! \return -1 no matching entry found
//! \return -2 if user id is not set or invalid
//! \return 0 matching entry found
int User::tryLoadPassphraseUserBackup(KeyPairEd25519** createdKeyPair = nullptr)
int User::tryLoadPassphraseUserBackup(KeyPairEd25519** createdKeyPair/* = nullptr*/)
{
auto user_model = getModel();
if (user_model->getID() <= 0) return -2;