mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 16:04:15 +01:00
modules/client/sync: Fix warnings for clang.
This commit is contained in:
parent
9579325506
commit
58382af029
1 changed files with 3 additions and 3 deletions
|
@ -349,10 +349,10 @@ ircd::m::sync::handle_get(client &client,
|
||||||
};
|
};
|
||||||
|
|
||||||
if(complete)
|
if(complete)
|
||||||
return response;
|
return std::move(response);
|
||||||
|
|
||||||
if(longpoll_handle(data))
|
if(longpoll_handle(data))
|
||||||
return response;
|
return std::move(response);
|
||||||
|
|
||||||
const auto &next_batch
|
const auto &next_batch
|
||||||
{
|
{
|
||||||
|
@ -364,7 +364,7 @@ ircd::m::sync::handle_get(client &client,
|
||||||
// A user-timeout occurred. According to the spec we return a
|
// A user-timeout occurred. According to the spec we return a
|
||||||
// 200 with empty fields rather than a 408.
|
// 200 with empty fields rather than a 408.
|
||||||
empty_response(data, next_batch);
|
empty_response(data, next_batch);
|
||||||
return response;
|
return std::move(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue