]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: remove unused variable
authorShenghou Ma <minux@golang.org>
Thu, 1 Jan 2015 02:58:02 +0000 (21:58 -0500)
committerMinux Ma <minux@golang.org>
Thu, 1 Jan 2015 03:14:56 +0000 (03:14 +0000)
I missed this one in golang.org/cl/2232 and only tested the patch
on openbsd/amd64.

Change-Id: I4ff437ae0bfc61c989896c01904b6d33f9bdf0ec
Reviewed-on: https://go-review.googlesource.com/2234
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/cgo/gcc_openbsd_386.c

index b046bc8bdd69cb2f6887668636291453168dc684..c4be9a00969e57332020048f351e47d2b400a992 100644 (file)
@@ -114,7 +114,6 @@ x_cgo_init(G *g, void (*setg)(void*))
 {
        pthread_attr_t attr;
        size_t size;
-       void *handle;
 
        setg_gcc = setg;
        pthread_attr_init(&attr);