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:
Murai Takashi 2018-08-04 21:42:11 +09:00 committed by waddlesplash
parent 91791df982
commit 410632da71

View File

@ -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