Commit 3cbc2716 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

runtime: remove unused var

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12249043
parent d8bbbd25
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
void runtime·sigpanic(void); void runtime·sigpanic(void);
static String unknown = { (uint8*)"?", 1 };
int32 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) runtime·gentraceback(uintptr pc0, uintptr sp0, uintptr lr0, G *gp, int32 skip, uintptr *pcbuf, int32 max, void (*callback)(Stkframe*, void*), void *v, bool printall)
{ {
......
...@@ -17,8 +17,6 @@ void runtime·sigpanic(void); ...@@ -17,8 +17,6 @@ void runtime·sigpanic(void);
// This code is also used for the 386 tracebacks. // This code is also used for the 386 tracebacks.
// Use uintptr for an appropriate word-sized integer. // Use uintptr for an appropriate word-sized integer.
static String unknown = { (uint8*)"?", 1 };
// Generic traceback. Handles runtime stack prints (pcbuf == nil), // Generic traceback. Handles runtime stack prints (pcbuf == nil),
// the runtime.Callers function (pcbuf != nil), as well as the garbage // the runtime.Callers function (pcbuf != nil), as well as the garbage
// collector (callback != nil). A little clunky to merge these, but avoids // collector (callback != nil). A little clunky to merge these, but avoids
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment