mirror of
https://github.com/golang/go
synced 2024-11-18 08:34:44 -07:00
runtime: remove unused var
R=golang-dev, r CC=golang-dev https://golang.org/cl/12249043
This commit is contained in:
parent
d8bbbd2537
commit
3cbc2716a9
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user