Skip to content

Fix superfluous else statements - #8468

Merged
calmh merged 1 commit into
mainfrom
deepsource-fix-f8bf65a6
Jul 28, 2022
Merged

calmh merged 1 commit into
mainfrom
deepsource-fix-f8bf65a6

Conversation

@deepsource-autofix

Copy link
Copy Markdown
Contributor

No description provided.

@calmh
calmh enabled auto-merge (squash) July 28, 2022 17:20
@calmh
calmh merged commit f13d652 into main Jul 28, 2022
@calmh
calmh deleted the deepsource-fix-f8bf65a6 branch July 28, 2022 17:31
calmh added a commit to calmh/syncthing that referenced this pull request Jul 28, 2022
* main: (22 commits)
  lib/model: Use bytes.Equal instead of converting to string (syncthing#8469)
  all: Add build constants for runtime.GOOS comparisons (syncthing#8442)
  cmd/strelaysrv: Fix superfluous else statements (syncthing#8468)
  all: Fix nested `if` with `else if` (syncthing#8467)
  all: Unused errors
  lib/fs: Consolidate append in test
  lib/api: Further (final?) unused parameters removal
  cmd/syncthing: Incorrect error handling
  lib/api: String comparisons
  lib/api: Remove unused parameters
  all: Fix unused method receiver (further) (syncthing#8466)
  all: Minor deprecation updates
  lib/model: Clarify normal shallow copy
  lib/api: Missing error handling in config handler (syncthing#8463)
  all: Remove unused method receivers (syncthing#8462)
  all: Combine sequential appends (syncthing#8461)
  cmd/ursrv: Silence linter with correct regexps (syncthing#8460)
  all: Unused parameter should be replaced by underscore (syncthing#8464)
  all: Remove or convert deprecated API usages (syncthing#8459)
  lib/config: Remove unnecessary use of `fmt.Sprintf` (syncthing#8458)
  ...
@calmh calmh added this to the v1.21.0 milestone Aug 9, 2022
calmh added a commit to tomasz1986/syncthing that referenced this pull request Aug 10, 2022
* main: (94 commits)
  build: bump actions/setup-go from 2.2.0 to 3.2.1 (syncthing#8492)
  build: Let dependabot suggest updates to GitHub actions (syncthing#8490)
  update: Go version in update-docs-translations action (syncthing#8489)
  gui, man, authors: Update docs, translations, and contributors
  cmd/syncthing: Refactor CLI code to allow passing CLI arguments via function parameter (syncthing#8485)
  build: Update quic-go for Go 1.19 (syncthing#8483)
  lib/ur: Properly initialize map in failure data (fixes syncthing#8479) (syncthing#8480)
  lib/ur: Properly initialize map in failure data (fixes syncthing#8479)
  gui, man, authors: Update docs, translations, and contributors
  docs: Clarify docker network mode limitations (syncthing#8472)
  lib/config: Use net.JoinHostPort instead of string manipulation (syncthing#8470)
  lib/api: Fix inverted logic in string comparison
  lib/model: Use bytes.Equal instead of converting to string (syncthing#8469)
  all: Add build constants for runtime.GOOS comparisons (syncthing#8442)
  cmd/strelaysrv: Fix superfluous else statements (syncthing#8468)
  all: Fix nested `if` with `else if` (syncthing#8467)
  all: Unused errors
  lib/fs: Consolidate append in test
  lib/api: Further (final?) unused parameters removal
  cmd/syncthing: Incorrect error handling
  ...
calmh added a commit to acolomb/syncthing that referenced this pull request Aug 10, 2022
* main: (121 commits)
  gui, api: Show internal config and state paths (fixes syncthing#8323) (syncthing#8324)
  build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.4 (syncthing#8475)
  build: bump actions/setup-go from 2.2.0 to 3.2.1 (syncthing#8492)
  build: Let dependabot suggest updates to GitHub actions (syncthing#8490)
  update: Go version in update-docs-translations action (syncthing#8489)
  gui, man, authors: Update docs, translations, and contributors
  cmd/syncthing: Refactor CLI code to allow passing CLI arguments via function parameter (syncthing#8485)
  build: Update quic-go for Go 1.19 (syncthing#8483)
  lib/ur: Properly initialize map in failure data (fixes syncthing#8479) (syncthing#8480)
  lib/ur: Properly initialize map in failure data (fixes syncthing#8479)
  gui, man, authors: Update docs, translations, and contributors
  docs: Clarify docker network mode limitations (syncthing#8472)
  lib/config: Use net.JoinHostPort instead of string manipulation (syncthing#8470)
  lib/api: Fix inverted logic in string comparison
  lib/model: Use bytes.Equal instead of converting to string (syncthing#8469)
  all: Add build constants for runtime.GOOS comparisons (syncthing#8442)
  cmd/strelaysrv: Fix superfluous else statements (syncthing#8468)
  all: Fix nested `if` with `else if` (syncthing#8467)
  all: Unused errors
  lib/fs: Consolidate append in test
  ...
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 28, 2023
@syncthing syncthing locked and limited conversation to collaborators Jul 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants