Patchwork [gcco] Remove unused variable

login
register
mail settings
Submitter Ian Taylor
Date July 2, 2010, 8 p.m.
Message ID <mcrr5jlirh4.fsf@google.com>
Download mbox | patch
Permalink /patch/57771/
State New
Headers show

Comments

Ian Taylor - July 2, 2010, 8 p.m.
I accidentally committed code which defines a global variable which is
unused.  This was part of an earlier version of the panic/recover
support.  This patch removes the unused variable.  Committed to gccgo
branch.

Ian

Patch

diff -r 2865bd85baee libgo/Makefile.am
--- a/libgo/Makefile.am	Fri Jul 02 12:48:17 2010 -0700
+++ b/libgo/Makefile.am	Fri Jul 02 12:57:07 2010 -0700
@@ -282,7 +282,6 @@ 
 	runtime/go-construct-map.c \
 	runtime/go-convert-interface.c \
 	runtime/go-defer.c \
-	runtime/go-defer-stack.c \
 	runtime/go-deferred-recover.c \
 	runtime/go-getgoroot.c \
 	runtime/go-go.c \
diff -r 2865bd85baee libgo/runtime/go-defer-stack.c
--- a/libgo/runtime/go-defer-stack.c	Fri Jul 02 12:48:17 2010 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@ 
-/* go-defer-stack.c -- The defer stack.
-
-   Copyright 2010 The Go Authors. All rights reserved.
-   Use of this source code is governed by a BSD-style
-   license that can be found in the LICENSE file.  */
-
-#include "go-defer.h"
-
-__thread struct __defer_stack *__go_defer_stack;