Some minor style changes/clean ups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3328 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -326,7 +326,8 @@ class AttributeIterator {
|
||||
* file, it will be converted to R_OK.
|
||||
*/
|
||||
|
||||
inline int oModeToAccess(int omode)
|
||||
inline int
|
||||
oModeToAccess(int omode)
|
||||
{
|
||||
omode &= O_RWMASK;
|
||||
if (omode == O_RDONLY)
|
||||
|
||||
@@ -1547,6 +1547,7 @@ Query::LiveUpdate(Inode *inode, const char *attribute, int32 type, const uint8 *
|
||||
|
||||
status_t oldStatus = fExpression->Root()->Match(inode, attribute, type, oldKey, oldLength);
|
||||
status_t newStatus = fExpression->Root()->Match(inode, attribute, type, newKey, newLength);
|
||||
|
||||
int32 op;
|
||||
if (oldStatus == MATCH_OK && newStatus == MATCH_OK) {
|
||||
// only send out a notification if the name was changed
|
||||
|
||||
Reference in New Issue
Block a user