diff options
author | Ivan Krasin <imkrasin@gmail.com> | 2012-03-30 21:39:09 +0000 |
---|---|---|
committer | Ivan Krasin <imkrasin@gmail.com> | 2012-03-30 21:39:09 +0000 |
commit | 63c82ffa82536cda16370e80bed7f6e502cdfd36 (patch) | |
tree | 26f803581975c7ce4535844becd84abbb94cc7cc | |
parent | aafd8938e95ba03f6c84c9cd3b0b79b648d5836b (diff) | |
download | gcd-63c82ffa82536cda16370e80bed7f6e502cdfd36.tar.gz |
gcd.go: drop unused comments
-rw-r--r-- | gcd.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -18,8 +18,6 @@ package main -// Both Google Go and GCC issue an error "imported and not used", -// if imported and not used :-) import ( "fmt" "os" @@ -30,10 +28,6 @@ func gcd2(a, b uint64) uint64 { if b == 0 { return a } - /* 6g issues an error "function ends without a return statement", - if we use if ... {... return} else {... return}. - But GCC doesn't. - */ return gcd2(b, a%b) } |