tools: remove unused variable in vbin2v.v

This commit is contained in:
Delyan Angelov 2023-11-25 15:37:03 +02:00
parent 37767cfa8d
commit e1a474e184
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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}), '