Removed a useless #include

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1430 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2002-10-07 13:49:16 +00:00
parent 979b68a75b
commit 294bea18c1

View File

@ -32,7 +32,6 @@
// Standard Includes -----------------------------------------------------------
#include <algobase.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// System Includes -------------------------------------------------------------
@ -347,9 +346,11 @@ BMallocIO::WriteAt(off_t pos, const void *buffer, size_t size)
if (newSize > fMallocSize)
error = SetSize(newSize);
if (error == B_OK)
if (error == B_OK) {
memcpy(fData + pos, buffer, size);
if (pos + size > fLength)
fLength = pos + size;
}
return error != B_OK ? error : size;
}