Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24581 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-03-25 20:29:49 +00:00
parent 4893165400
commit c12ed8563a

View File

@ -485,7 +485,7 @@ write_to_file(file_cache_ref *ref, void *cookie, off_t offset, int32 pageOffset,
mutex_unlock(&ref->cache->lock);
vm_page_unreserve_pages(lastReservedPages);
status_t status;
status_t status = B_OK;
if (!useBuffer) {
while (bufferSize > 0) {