* VMCache::Unlock(): Renamed local variable consumerLocked to avoid shadowing

the parameter (CID 5329).
* _MergeWithOnlyConsumer(): Removed the somewhat weird consumerLocked
  parameter. The caller can unlock itself, if desired. Improves Unlock()
  readability.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2011-01-03 00:44:40 +00:00
parent b734adba63
commit a0d93d1416
2 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ private:
inline bool _IsMergeable() const;
void _MergeWithOnlyConsumer(bool consumerLocked);
void _MergeWithOnlyConsumer();
void _RemoveConsumer(VMCache* consumer);
private: