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

tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946)

This commit is contained in:
Delyan Angelov
2023-07-22 19:13:58 +03:00
committed by GitHub
parent 7451178c45
commit 41f99c1abf
9 changed files with 77 additions and 159 deletions

View File

@ -134,7 +134,7 @@ fn read_wav_file_samples(fpath string) ![]f32 {
return error('WAV should have valid length')
}
offset += sizeof(RIFFHeader)
mut rf := &RIFFFormat(0)
mut rf := &RIFFFormat(unsafe { nil })
for {
if offset >= bytes.len {
break