1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

strings.builder: remove unused var; clipboard: linux fixes

This commit is contained in:
Alexander Medvednikov
2020-05-06 11:44:08 +00:00
parent 25db5e96a3
commit 207324d15b
2 changed files with 15 additions and 5 deletions

View File

@ -104,9 +104,7 @@ pub fn (b mut Builder) free() {
unsafe{
free(b.buf.data)
}
// QTODO checker bug
s := b.initial_size
//b.buf = []byte{cap: s}
//b.buf = []byte{cap: b.initial_size}
b.len = 0
b.str_calls = 0
}