Skip to content

Commit

Permalink
tools: remove unused variable in vbin2v.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 25, 2023
1 parent 37767cf commit e1a474e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/tools/vbin2v.v
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ fn (context Context) footer() string {

fn (context Context) file2v(bname string, fbytes []u8, bn_max int) string {
mut sb := strings.new_builder(1000)
bn_diff_len := bn_max - bname.len
sb.write_string('const ${bname}_len' + ' = ${fbytes.len}\n')
fbyte := fbytes[0]
bnmae_line := 'const ${bname}' + ' = [u8(${fbyte}), '
Expand Down

0 comments on commit e1a474e

Please sign in to comment.