Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24581 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user