mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
Do a pass of compiler warning fixes.
This is really making me question not using 64-bit integers more.
This commit is contained in:
parent
243e1d8462
commit
58240fdb33
21 changed files with 89 additions and 84 deletions
|
@ -14,6 +14,7 @@ Lockable<HashMap<String, RetainPtr<SharedMemory>>>& shared_memories()
|
|||
|
||||
KResultOr<Retained<SharedMemory>> SharedMemory::open(const String& name, int flags, mode_t mode)
|
||||
{
|
||||
UNUSED_PARAM(flags);
|
||||
LOCKER(shared_memories().lock());
|
||||
auto it = shared_memories().resource().find(name);
|
||||
if (it != shared_memories().resource().end()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue