Repository navigation
fix unused method receiver - #8988
Merged
Merged
Conversation
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
calmh
approved these changes
Jul 18, 2023
calmh
enabled auto-merge (squash)
July 18, 2023 14:19
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Jul 25, 2023
* main: gui: Remove Twitter link from footer (syncthing#9000) gui, man, authors: Update docs, translations, and contributors lib/ur: Don't report uptime if start time is in the past (fixes syncthing#7698) (syncthing#8996) lib/model: use WARN for "Unexpected folder" messages (syncthing#8998) lib/osutil: Skip setLowPriority in Windows if already lower (fixes syncthing#6597) (syncthing#8993) all: replace empty slice literal with `var` (syncthing#8990) all: fix unused method receiver (syncthing#8988) all: unused parameter should be replaced by underscore (syncthing#8989) gui, man, authors: Update docs, translations, and contributors cmd/syncthing: Mention STVERSIONEXTRA in --help output (ref syncthing#8980) gui, lib/api: Add possibility to feed through extra version information (syncthing#8980) cmd/ursrv: Update map tile URL cmd/strelaypoolsrv: Update map tile URL (syncthing#8985) cmd/stcrashreceiver: Correct parsing of current version string
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Jul 25, 2023
* main: gui: Remove Twitter link from footer (syncthing#9000) gui, man, authors: Update docs, translations, and contributors lib/ur: Don't report uptime if start time is in the past (fixes syncthing#7698) (syncthing#8996) lib/model: use WARN for "Unexpected folder" messages (syncthing#8998) lib/osutil: Skip setLowPriority in Windows if already lower (fixes syncthing#6597) (syncthing#8993) all: replace empty slice literal with `var` (syncthing#8990) all: fix unused method receiver (syncthing#8988) all: unused parameter should be replaced by underscore (syncthing#8989)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep
the same method signature, omit the receiver name or '_' as it is unused.