-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialise FCounterResponse members #4084
Conversation
/gcbrun |
Build Failed 😭 Build Id: 88702def-c6c8-457a-9f04-84e669f88939 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
@GloryOfNight could you please do a quick review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Initialising members to their default values prevents compiler warnings: ``` Int64Property FCounterResponse::Count is not initialized properly even though its struct probably has a custom default constructor. Module:Agones File:Classes/Classes.h Int64Property FCounterResponse::Capacity is not initialized properly even though its struct probably has a custom default constructor. Module:Agones File:Classes/Classes.h ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
per @GloryOfNight LGTM
/gcbrun |
Build Failed 😭 Build Id: 8ce7c1a2-9158-4862-a1ee-8c42beb8afbc Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
/gcbrun |
Build Succeeded 🥳 Build Id: 4ee93cd6-b3c5-4b98-b8f9-396fc22fecd4 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Thanks all! |
What type of PR is this?
/kind cleanup
What this PR does / Why we need it:
Initialising members to their default values prevents compiler warnings:
All other structs in this file do initialize their members, so this PR brings the FCounterResponse struct in-line with the others.
Which issue(s) this PR fixes:
Special notes for your reviewer:
I've successfully built this change in my work project. I can also build it in a new blank UE4 project if required.
I'm hoping this change is simple enough to not need that though 🙏