From: Shenghou Ma Date: Thu, 1 Jan 2015 02:58:02 +0000 (-0500) Subject: runtime/cgo: remove unused variable X-Git-Tag: go1.5beta1~2488 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0b2a74e89cf940e1c4cd91785ff3d744684edc49;p=gostls13.git runtime/cgo: remove unused variable 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 --- diff --git a/src/runtime/cgo/gcc_openbsd_386.c b/src/runtime/cgo/gcc_openbsd_386.c index b046bc8bdd..c4be9a0096 100644 --- a/src/runtime/cgo/gcc_openbsd_386.c +++ b/src/runtime/cgo/gcc_openbsd_386.c @@ -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);