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

ci: fix v -cstrict -cc gcc vlib/v/gen/native/macho_test.v

This commit is contained in:
Delyan Angelov 2022-10-10 13:28:18 +03:00
parent 2a4604b5f9
commit d4e89de8fb
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ pub fn new_eval(table &ast.Table, pref &pref.Preferences) Eval {
type Symbol = Object | ast.EmptyStmt | ast.FnDecl
pub struct Eval {
pref &pref.Preferences
pref &pref.Preferences = unsafe { nil }
pub mut:
table &ast.Table = unsafe { nil }
mods map[string]map[string]Symbol

View File

@ -443,7 +443,7 @@ struct Section {
name string
mut:
header SectionHeader
data SectionData
data SectionData = DynSymSection{}
}
fn (mut g Gen) create_section(name string, typ int, link int, info int, addralign i64, entsize i64, data SectionData) Section {