fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4662 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -248,6 +248,6 @@ rw_lock_write_lock(rw_lock *lock)
|
|||||||
status_t
|
status_t
|
||||||
rw_lock_write_unlock(rw_lock *lock)
|
rw_lock_write_unlock(rw_lock *lock)
|
||||||
{
|
{
|
||||||
release_sem_etc(lock->sem, RW_MAX_READERS, 0);
|
return release_sem_etc(lock->sem, RW_MAX_READERS, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -803,6 +803,7 @@ dump_modules(int argc, char **argv)
|
|||||||
image->path, image->image, image->info, image->ref_count,
|
image->path, image->image, image->info, image->ref_count,
|
||||||
image->keep_loaded ? "keep loaded" : "can be unloaded");
|
image->keep_loaded ? "keep loaded" : "can be unloaded");
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user