Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Unused params, unused code, make Go tip's vet happy #766

Merged
merged 3 commits into from
Mar 1, 2018
Merged

Unused params, unused code, make Go tip's vet happy #766

merged 3 commits into from
Mar 1, 2018

Conversation

mvdan
Copy link
Contributor

@mvdan mvdan commented Mar 1, 2018

No description provided.

mvdan added 3 commits March 1, 2018 17:12
It always returns a nil error.

Signed-off-by: Daniel Martí <[email protected]>
Signed-off-by: Daniel Martí <[email protected]>
vet in 1.10 and earlier was buggy in how its "composite literal uses
unkeyed fields" check had false negatives when it encountered a slice of
pointer types that omitted each element's type.

This has been fixed in tip, so adapt to that fix.

Signed-off-by: Daniel Martí <[email protected]>
@mvdan
Copy link
Contributor Author

mvdan commented Mar 1, 2018

GitHub was temporarily down while I posted this PR, so some of the CI builds might need restarting (I don't have the perms to do that).

@jfontan
Copy link
Contributor

jfontan commented Mar 1, 2018

I've restarted a broken job but the rest seem to be running correctly.

@mcuadros
Copy link
Contributor

mcuadros commented Mar 1, 2018

Thanks, always welcome some housekeeping.

@mcuadros mcuadros merged commit d8d17e7 into src-d:master Mar 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants