]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove unused var
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Aug 2013 14:26:21 +0000 (18:26 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 1 Aug 2013 14:26:21 +0000 (18:26 +0400)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12249043

src/pkg/runtime/traceback_arm.c
src/pkg/runtime/traceback_x86.c

index 4b9692c0767ae3fee29975f82bce7d0f828a3c74..0c80ec64b510c245bef3bdfc2de082e8b227b3bd 100644 (file)
@@ -9,8 +9,6 @@
 
 void runtime·sigpanic(void);
 
-static String unknown = { (uint8*)"?", 1 };
-
 int32
 runtime·gentraceback(uintptr pc0, uintptr sp0, uintptr lr0, G *gp, int32 skip, uintptr *pcbuf, int32 max, void (*callback)(Stkframe*, void*), void *v, bool printall)
 {
index c5197a6e105b703b3260a12ab67dc4ca8750358b..df52051ad27f69e65b81f3a567be348a89a92e2d 100644 (file)
@@ -17,8 +17,6 @@ void runtime·sigpanic(void);
 // This code is also used for the 386 tracebacks.
 // Use uintptr for an appropriate word-sized integer.
 
-static String unknown = { (uint8*)"?", 1 };
-
 // Generic traceback.  Handles runtime stack prints (pcbuf == nil),
 // the runtime.Callers function (pcbuf != nil), as well as the garbage
 // collector (callback != nil).  A little clunky to merge these, but avoids