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 <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
91791df982
commit
410632da71
@@ -15,7 +15,7 @@ struct fs_init_info {
|
|||||||
FSCapabilities capabilities;
|
FSCapabilities capabilities;
|
||||||
client_fs_type clientFSType;
|
client_fs_type clientFSType;
|
||||||
int32 portInfoCount;
|
int32 portInfoCount;
|
||||||
Port::Info portInfos[0];
|
Port::Info portInfos[];
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace UserlandFSUtil
|
} // namespace UserlandFSUtil
|
||||||
|
|||||||
Reference in New Issue
Block a user