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

chore: remove dead / double code #726

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

eXhumer
Copy link
Contributor

@eXhumer eXhumer commented Dec 13, 2024

Please tick as appropriate:

  • I have tested this code on a steam deck or on a PC
  • My changes generate no new errors/warnings
  • This is a bugfix/hotfix
  • This is a new feature

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

This fixes issue: This really isn't fixing any issue, but there is double switch case doing the same thing. The fetch call inside the first switch case is unreachable dead code.

Credits to @KP2048 in https://discord.com/channels/960281551428522045/960284311444131840/1317031315551420447 for noticing it.

Copy link
Member

@AAGaming00 AAGaming00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@AAGaming00 AAGaming00 merged commit 25036b0 into SteamDeckHomebrew:main Dec 14, 2024
4 checks passed
@eXhumer eXhumer deleted the remove-dead-code branch December 14, 2024 04:02
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