0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

ircd:Ⓜ️ Appease unused-result warning (for array-copy return value) internally.

This commit is contained in:
Jason Volk 2022-06-29 11:40:03 -07:00
parent 16db9197ad
commit 1327823d2c

View file

@ -12,7 +12,11 @@ ircd::m::event::id::buf
ircd::m::event_id(const event::idx &event_idx)
{
event::id::buf ret;
event_id(event_idx, ret);
const auto res
{
event_id(event_idx, ret)
};
return ret;
}
@ -21,7 +25,11 @@ ircd::m::event_id(std::nothrow_t,
const event::idx &event_idx)
{
event::id::buf ret;
event_id(std::nothrow, event_idx, ret);
const auto res
{
event_id(std::nothrow, event_idx, ret)
};
return ret;
}