Fix some compiler warnings
This commit is contained in:
parent
100b5e0371
commit
01e38d12ed
17 changed files with 51 additions and 50 deletions
|
|
@ -439,7 +439,7 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token)
|
|||
|
||||
try {
|
||||
http::client()->set_user(parse<User>(userid.toStdString()));
|
||||
} catch (const std::invalid_argument &e) {
|
||||
} catch (const std::invalid_argument &) {
|
||||
nhlog::ui()->critical("bootstrapped with invalid user_id: {}",
|
||||
userid.toStdString());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue