Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexrudd
Copy link

@alexrudd alexrudd commented Jan 7, 2025

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:

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

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 🙏

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
```
@github-actions github-actions bot added kind/cleanup Refactoring code, fixing up documentation, etc size/XS labels Jan 7, 2025
@0xaravindh
Copy link
Member

/gcbrun

@agones-bot
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants