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

Build fails #39

Open
ciubotaru opened this issue Jul 11, 2013 · 1 comment
Open

Build fails #39

ciubotaru opened this issue Jul 11, 2013 · 1 comment

Comments

@ciubotaru
Copy link

System: Ubuntu 12.04 (amd64), go version go1.0.3b:

$ go get github.com/inhies/cjdcmd
github.com/miekg/dns
projects/go/src/github.com/miekg/dns/labels.go:108: function ends without a return statement
projects/go/src/github.com/miekg/dns/labels.go:132: function ends without a return statement

@ciubotaru
Copy link
Author

I managed to solve this issue by adding something like "return CountLabes(s)" and "return Split(s)" to the end of the respective functions. Now it builds successfully.

I should probably report this issue to https://github.com/miekg/dns.

Update: Cross-posted in miekg/dns#52

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

No branches or pull requests

1 participant