mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibDSP: Cast unused smart-pointer return value to void
This commit is contained in:
parent
081d9bd010
commit
a0f6da7ceb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ bool Track::add_processor(NonnullRefPtr<Processor> new_processor)
|
|||
{
|
||||
m_processor_chain.append(move(new_processor));
|
||||
if (!check_processor_chain_valid()) {
|
||||
m_processor_chain.take_last();
|
||||
(void)m_processor_chain.take_last();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue