Skip to content

Commit c2148c6

Browse files
authored
core/asm: remove unused return value (#27272)
1 parent 7369752 commit c2148c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/asm/compiler.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,12 @@ func (c *Compiler) compileLine() error {
157157
}
158158

159159
// compileNumber compiles the number to bytes
160-
func (c *Compiler) compileNumber(element token) (int, error) {
160+
func (c *Compiler) compileNumber(element token) {
161161
num := math.MustParseBig256(element.text).Bytes()
162162
if len(num) == 0 {
163163
num = []byte{0}
164164
}
165165
c.pushBin(num)
166-
return len(num), nil
167166
}
168167

169168
// compileElement compiles the element (push & label or both)

0 commit comments

Comments
 (0)