]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: remove unnecessary semicolon from mksyscall.pl
authorIan Lance Taylor <iant@golang.org>
Tue, 20 Dec 2011 04:57:59 +0000 (20:57 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Dec 2011 04:57:59 +0000 (20:57 -0800)
R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/5495098

src/pkg/syscall/mksyscall.pl

index 89cdf0d8f973894cbb8d5ed15ca2e2c984972217..963599c3ab535267f94ddec8acddad57708ee5ac 100755 (executable)
@@ -232,7 +232,7 @@ while(<>) {
                $text .= "\t}\n";
        } elsif ($do_errno) {
                $text .= "\tif e1 != 0 {\n";
-               $text .= "\t\terr = e1;\n";
+               $text .= "\t\terr = e1\n";
                $text .= "\t}\n";
        }
        $text .= "\treturn\n";