Add braces to suppress gcc warning on empty 'else' block.

This commit is contained in:
Ralf Corsepius
2009-01-05 05:52:21 +00:00
parent 1429b60ae3
commit 77b5aa5f93

View File

@@ -107,9 +107,10 @@ int IMFS_evaluate_permission(
flags_to_test <<= 6;
else if ( st_gid == jnode->st_gid )
flags_to_test <<= 3;
else
else {
/* must be other - do nothing */;
}
/*
* If all of the flags are set we have permission
* to do this.