cjdcmd icon indicating copy to clipboard operation
cjdcmd copied to clipboard

Build fails

Open ciubotaru opened this issue 11 years ago • 1 comments

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 avatar Jul 11 '13 17:07 ciubotaru

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 https://github.com/miekg/dns/issues/52

ciubotaru avatar Jul 12 '13 14:07 ciubotaru