mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c warnings
This commit is contained in:
@@ -519,6 +519,8 @@ pub fn find_all_v_files(roots []string) ?[]string {
|
||||
// if you add another cached unsafe function using static, do not forget to add
|
||||
// a mechanism to clear its cache, and call it here.
|
||||
pub fn free_caches() {
|
||||
unsafe { cached_read_source_file('') or {} }
|
||||
unsafe { cached_file2sourcelines('') }
|
||||
unsafe {
|
||||
cached_file2sourcelines('')
|
||||
cached_read_source_file('') or { '' }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user