LibWeb: Cast unused smart-pointer return values to void

This commit is contained in:
Sam Atkins 2021-12-02 12:54:34 +00:00 committed by Andreas Kling
parent 31ea222f97
commit 7196570f9b
Notes: sideshowbarker 2024-07-17 23:08:47 +09:00
10 changed files with 116 additions and 116 deletions

View file

@ -104,7 +104,7 @@ JS_DEFINE_NATIVE_FUNCTION(WebAssemblyObject::validate)
// Drop the module from the cache, we're never going to refer to it.
ScopeGuard drop_from_cache {
[&] {
s_compiled_modules.take_last();
(void)s_compiled_modules.take_last();
}
};