1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:34:40 -07:00

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>
This commit is contained in:
Shenghou Ma 2014-12-31 21:58:02 -05:00 committed by Minux Ma
parent 77cd6197d7
commit 0b2a74e89c

View 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);