Skip to content

Commit

Permalink
Remove extraneous debugging code
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Rudenberg <[email protected]>
  • Loading branch information
titanous committed Jul 17, 2016
1 parent 6088391 commit 5a9c6f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"math"
"reflect"
"runtime"
"runtime/debug"
"strconv"
"unicode"
"unicode/utf16"
Expand Down Expand Up @@ -308,9 +307,6 @@ func (d *decodeState) init(data []byte) *decodeState {

// error aborts the decoding by panicking with err.
func (d *decodeState) error(err error) {
if err == errPhase {
debug.PrintStack()
}
panic(err)
}

Expand Down

0 comments on commit 5a9c6f7

Please sign in to comment.