diff --git a/Kernel/ktime.h b/Kernel/ktime.h index 75655fd4e0..d45ab2e48d 100644 --- a/Kernel/ktime.h +++ b/Kernel/ktime.h @@ -19,7 +19,7 @@ inline time_t ktime(time_t* tloc) return 123; } -inline tm* klocaltime(time_t* t) +inline tm* klocaltime(time_t*) { static tm timmy; return &timmy; diff --git a/VirtualFileSystem/DiskDevice.cpp b/VirtualFileSystem/DiskDevice.cpp index 235ec8da76..54f6953b9a 100644 --- a/VirtualFileSystem/DiskDevice.cpp +++ b/VirtualFileSystem/DiskDevice.cpp @@ -15,7 +15,6 @@ bool DiskDevice::read(DiskOffset offset, unsigned length, byte* out) const dword firstBlock = offset / blockSize(); dword endBlock = (offset + length) / blockSize(); byte* outptr = out; - unsigned remainingCount = length; for (unsigned bi = firstBlock; bi < endBlock; ++bi) { if (!readBlock(bi, outptr)) return false; diff --git a/VirtualFileSystem/VirtualFileSystem.cpp b/VirtualFileSystem/VirtualFileSystem.cpp index b53c5cdb44..7443158369 100644 --- a/VirtualFileSystem/VirtualFileSystem.cpp +++ b/VirtualFileSystem/VirtualFileSystem.cpp @@ -338,6 +338,7 @@ OwnPtr VirtualFileSystem::open(const String& path) OwnPtr 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 VirtualFileSystem::create(const String& path) OwnPtr 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; }