mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
core/asm: remove unused return value (#27272)
This commit is contained in:
parent
7369752999
commit
c2148c644d
1 changed files with 1 additions and 2 deletions
|
|
@ -157,13 +157,12 @@ func (c *Compiler) compileLine() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// compileNumber compiles the number to bytes
|
// compileNumber compiles the number to bytes
|
||||||
func (c *Compiler) compileNumber(element token) (int, error) {
|
func (c *Compiler) compileNumber(element token) {
|
||||||
num := math.MustParseBig256(element.text).Bytes()
|
num := math.MustParseBig256(element.text).Bytes()
|
||||||
if len(num) == 0 {
|
if len(num) == 0 {
|
||||||
num = []byte{0}
|
num = []byte{0}
|
||||||
}
|
}
|
||||||
c.pushBin(num)
|
c.pushBin(num)
|
||||||
return len(num), nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// compileElement compiles the element (push & label or both)
|
// compileElement compiles the element (push & label or both)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue