mirror of https://github.com/goccy/go-json.git
Remove unnecessary code
This commit is contained in:
parent
6f972bcc9d
commit
e0b010dcd8
|
@ -564,9 +564,6 @@ func (d *structDecoder) decodeStream(s *stream, p unsafe.Pointer) error {
|
|||
return err
|
||||
}
|
||||
s.skipWhiteSpace()
|
||||
if s.char() == nul {
|
||||
s.read()
|
||||
}
|
||||
if s.char() != ':' {
|
||||
return errExpected("colon after object key", s.totalOffset())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue