summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Krasin <imkrasin@gmail.com>2012-03-30 21:39:09 +0000
committerIvan Krasin <imkrasin@gmail.com>2012-03-30 21:39:09 +0000
commit63c82ffa82536cda16370e80bed7f6e502cdfd36 (patch)
tree26f803581975c7ce4535844becd84abbb94cc7cc
parentaafd8938e95ba03f6c84c9cd3b0b79b648d5836b (diff)
downloadgcd-63c82ffa82536cda16370e80bed7f6e502cdfd36.tar.gz
gcd.go: drop unused comments
-rw-r--r--gcd.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcd.go b/gcd.go
index ede8be7..96f601b 100644
--- a/gcd.go
+++ b/gcd.go
@@ -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)
}