UserlandFSDefs.h: Fix gcc8 build
Remove index of portInfos[], since gcc8 warns -Werror=array-bounds in UserlandFSServer::_Announce(). Change-Id: I79c4ee9d7dc301c54454974698ebd88d1a30750a Reviewed-on: https://review.haiku-os.org/428 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
91791df982
commit
410632da71
@ -15,7 +15,7 @@ struct fs_init_info {
|
||||
FSCapabilities capabilities;
|
||||
client_fs_type clientFSType;
|
||||
int32 portInfoCount;
|
||||
Port::Info portInfos[0];
|
||||
Port::Info portInfos[];
|
||||
};
|
||||
|
||||
} // namespace UserlandFSUtil
|
||||
|
Loading…
Reference in New Issue
Block a user