From c2148c644da6c804f9070d32e311d5c479da3436 Mon Sep 17 00:00:00 2001 From: joohhnnn <68833933+joohhnnn@users.noreply.github.com> Date: Tue, 16 May 2023 16:14:04 +0800 Subject: [PATCH] core/asm: remove unused return value (#27272) --- core/asm/compiler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/asm/compiler.go b/core/asm/compiler.go index ce2d23abd0..4b1d379206 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -157,13 +157,12 @@ func (c *Compiler) compileLine() error { } // 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() if len(num) == 0 { num = []byte{0} } c.pushBin(num) - return len(num), nil } // compileElement compiles the element (push & label or both)