mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
tools: remove unused variable in vbin2v.v
This commit is contained in:
parent
37767cfa8d
commit
e1a474e184
1 changed files with 0 additions and 1 deletions
|
@ -45,7 +45,6 @@ fn (context Context) footer() string {
|
||||||
|
|
||||||
fn (context Context) file2v(bname string, fbytes []u8, bn_max int) string {
|
fn (context Context) file2v(bname string, fbytes []u8, bn_max int) string {
|
||||||
mut sb := strings.new_builder(1000)
|
mut sb := strings.new_builder(1000)
|
||||||
bn_diff_len := bn_max - bname.len
|
|
||||||
sb.write_string('const ${bname}_len' + ' = ${fbytes.len}\n')
|
sb.write_string('const ${bname}_len' + ' = ${fbytes.len}\n')
|
||||||
fbyte := fbytes[0]
|
fbyte := fbytes[0]
|
||||||
bnmae_line := 'const ${bname}' + ' = [u8(${fbyte}), '
|
bnmae_line := 'const ${bname}' + ' = [u8(${fbyte}), '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue