forked from Imagelibrary/rtems
Add braces to suppress gcc warning on empty 'else' block.
This commit is contained in:
@@ -107,8 +107,9 @@ int IMFS_evaluate_permission(
|
|||||||
flags_to_test <<= 6;
|
flags_to_test <<= 6;
|
||||||
else if ( st_gid == jnode->st_gid )
|
else if ( st_gid == jnode->st_gid )
|
||||||
flags_to_test <<= 3;
|
flags_to_test <<= 3;
|
||||||
else
|
else {
|
||||||
/* must be other - do nothing */;
|
/* must be other - do nothing */;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If all of the flags are set we have permission
|
* If all of the flags are set we have permission
|
||||||
|
|||||||
Reference in New Issue
Block a user