diff --git a/sort.go b/sort.go index 70e912d..fe06e31 100644 --- a/sort.go +++ b/sort.go @@ -133,9 +133,8 @@ func iterNext(w io.Writer, names map[string]string) { fmt.Fprintln(w, " for i, d := range it.packs {") fmt.Fprintln(w, " fmt.Println(\"i =\", i, d)") fmt.Fprintln(w, " }") - fmt.Fprintln(w, " fmt.Println(\"protobuf autogenpb sort error len =\", len(it.packs))") - fmt.Fprintln(w, " fmt.Println(\"protobuf autogenpb sort error next == nil\", it.index, it.index-1)") - fmt.Fprintln(w, " os.Exit(-1)") + fmt.Fprintln(w, " // fmt.Println(\"protobuf autogenpb sort error len =\", len(it.packs))") + fmt.Fprintln(w, " // fmt.Println(\"protobuf autogenpb sort error next == nil\", it.index, it.index-1)") fmt.Fprintln(w, " }") fmt.Fprintln(w, " return it.packs[it.index-1]") fmt.Fprintln(w, "}")