summaryrefslogtreecommitdiffstats
path: root/modules/log/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/stack.go')
-rw-r--r--modules/log/stack.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/log/stack.go b/modules/log/stack.go
index 8fc3f35421..4b40d81ab7 100644
--- a/modules/log/stack.go
+++ b/modules/log/stack.go
@@ -11,9 +11,7 @@ import (
"runtime"
)
-var (
- unknown = []byte("???")
-)
+var unknown = []byte("???")
// Stack will skip back the provided number of frames and return a stack trace with source code.
// Although we could just use debug.Stack(), this routine will return the source code and