aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2014-12-31 21:58:02 -0500
committerMinux Ma <minux@golang.org>2015-01-01 03:14:56 +0000
commit0b2a74e89cf940e1c4cd91785ff3d744684edc49 (patch)
tree4df4406dc80d229c1006a6b163b77fa82c928f44 /src/runtime
parent77cd6197d7561ab7ccbf5d892efb6f97d929546a (diff)
downloadgo-0b2a74e89cf940e1c4cd91785ff3d744684edc49.tar.xz
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 <minux@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/cgo/gcc_openbsd_386.c1
1 files changed, 0 insertions, 1 deletions
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);