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

Remove dead or redundant code (packages) #3848

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Oct 9, 2022

Signed-off-by: David Gageot david.gageot@docker.com

@dgageot dgageot force-pushed the remove-more-dead-code-pkg branch 2 times, most recently from 4bb3a62 to 59c8ccc Compare October 9, 2022 13:03
Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot marked this pull request as ready for review October 9, 2022 15:22
@@ -108,7 +108,7 @@ func main() {
d := time.Date(int(t.tmYear+1900), time.Month(t.tmMon+1), int(t.tmMday), int(t.tmHour), int(t.tmMin), int(t.tmSec), 0, time.UTC)
log.Printf("Setting system clock to %s", d)
tv := syscall.Timeval{
Sec: int64(d.Unix()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this one have been for non-x86 or 32-bit arches? I know we have similar casts in other repositories (but if it's deliberate; we need to add a nolint comment with an explanation

Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not sure. I think that as long as it is not complaining, let's leave it as is. If someone has an issue somewhere on a 32-bit arch, let's worry about it then.

@deitch deitch merged commit 45e299c into linuxkit:master Oct 10, 2022
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.

None yet

3 participants