mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 16:25:54 +03:00
[PR #178] [MERGED] refactor: Use discardableResult to suppress warning #1498
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PlayCover/PlayCover/pull/178
Author: @KhoraLee
Created: 8/18/2022
Status: ✅ Merged
Merged: 8/18/2022
Merged by: @Depal1
Base:
develop← Head:refactor/discardableResult📝 Commits (1)
2b0cb58refactor: Use discardableResult to suppress warning📊 Changes
3 files changed (+8 additions, -6 deletions)
View changed files
📝
PlayCover/AppInstaller/Installer.swift(+2 -2)📝
PlayCover/Utils/PlayTools.swift(+3 -3)📝
PlayCover/Utils/Shell.swift(+3 -1)📄 Description
Instead of using
_ = expression()to suppress "Result of call to 'xxx' is unused" warning, use@discardableResultto suppress warning.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.