diff mbox

[gcco] Remove unused variable

Message ID mcrr5jlirh4.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor July 2, 2010, 8 p.m. UTC
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
diff mbox

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;