]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
runtime: remove unused variable
authorIan Lance Taylor <ian@gcc.gnu.org>
Sun, 20 Jul 2014 19:20:12 +0000 (19:20 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sun, 20 Jul 2014 19:20:12 +0000 (19:20 +0000)
This variable is unused apparently as a result of local changes.
gccgo accepts this variable declaration, but other frontends may not.

From-SVN: r212873

libgo/go/reflect/value.go

index cac083304ca0fad51aa601cd0ff64f123897bfba..c390b8e2d6c1dc020aabca53c44ef0ad28a82ed4 100644 (file)
@@ -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 {