Fix some minor build warnings.

This commit is contained in:
Andreas Kling 2018-10-17 16:48:16 +02:00
parent 347e202f7f
commit f82b25d4f9
Notes: sideshowbarker 2024-07-19 18:46:56 +09:00
3 changed files with 3 additions and 2 deletions

View file

@ -338,6 +338,7 @@ OwnPtr<FileHandle> VirtualFileSystem::open(const String& path)
OwnPtr<FileHandle> VirtualFileSystem::create(const String& path)
{
// FIXME: Do the real thing, not just this fake thing!
(void) path;
m_rootNode->fileSystem()->createInode(m_rootNode->fileSystem()->rootInode(), "empty", 0100644, 0);
return nullptr;
}
@ -345,6 +346,7 @@ OwnPtr<FileHandle> VirtualFileSystem::create(const String& path)
OwnPtr<FileHandle> VirtualFileSystem::mkdir(const String& path)
{
// FIXME: Do the real thing, not just this fake thing!
(void) path;
m_rootNode->fileSystem()->makeDirectory(m_rootNode->fileSystem()->rootInode(), "mydir", 0400755);
return nullptr;
}