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

Fix switch case compilation error in the new helloscripting #1472

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

enjoy-binbin
Copy link
Member

It is missing the curly braces.

It is missing the curly braces.

Signed-off-by: Binbin <[email protected]>
@zuiderkwast
Copy link
Contributor

If there are local variables in a case, it's good to make it a scope. Is there a warning for that in some CI job?

@zuiderkwast
Copy link
Contributor

I see the error in the daily runs: https://github.com/valkey-io/valkey/actions/runs/12449533103/job/34755280012

@zuiderkwast zuiderkwast merged commit d00c856 into valkey-io:unstable Dec 22, 2024
46 of 47 checks passed
@zuiderkwast
Copy link
Contributor

Introduced in #1277

@enjoy-binbin enjoy-binbin deleted the fix_compile branch December 23, 2024 00:01
kronwerk pushed a commit to kronwerk/valkey that referenced this pull request Jan 27, 2025
…o#1472)

It is missing the curly braces for variable declaration after case.

Signed-off-by: Binbin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants