diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-20 19:20:12 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-20 19:20:12 +0000 |
commit | d5d0580e649fd7f2a43d11c5ee5cb72554d33bc0 (patch) | |
tree | 3b09de04d7838179c50c0e45f812c0fba91911d3 | |
parent | 9b0834f68353d52e4d5000a599e5169b79c0c343 (diff) | |
download | gcc-d5d0580e649fd7f2a43d11c5ee5cb72554d33bc0.zip gcc-d5d0580e649fd7f2a43d11c5ee5cb72554d33bc0.tar.gz gcc-d5d0580e649fd7f2a43d11c5ee5cb72554d33bc0.tar.bz2 |
runtime: remove unused variable
This variable is unused apparently as a result of local changes.
gccgo accepts this variable declaration, but other frontends may not.
From-SVN: r212873
-rw-r--r-- | libgo/go/reflect/value.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libgo/go/reflect/value.go b/libgo/go/reflect/value.go index cac0833..c390b8e 100644 --- a/libgo/go/reflect/value.go +++ b/libgo/go/reflect/value.go @@ -434,13 +434,12 @@ func (v Value) call(op string, in []Value) []Value { // Get function pointer, type. t := v.typ var ( - fn unsafe.Pointer - rcvr Value - rcvrtype *rtype + fn unsafe.Pointer + rcvr Value ) if v.flag&flagMethod != 0 { rcvr = v - rcvrtype, t, fn = methodReceiver(op, v, int(v.flag)>>flagMethodShift) + _, t, fn = methodReceiver(op, v, int(v.flag)>>flagMethodShift) } else if v.flag&flagIndir != 0 { fn = *(*unsafe.Pointer)(v.ptr) } else { |