1
0
mirror of https://github.com/golang/go synced 2024-11-25 13:38:00 -07:00

Fix flag assignment

This commit is contained in:
benbaker76 2024-10-15 12:24:00 -07:00
parent 7657976b0c
commit c123b5d379

View File

@ -1726,7 +1726,7 @@ func (f *File) gnuVersion(i int) (versionIndex int16, version string, library st
for _, v := range f.dynVers {
if uint16(ndx) == v.Index {
if len(v.Deps) > 0 {
var flags SymbolVersionFlag = VerFlagNone
flags := VerFlagNone
if j&0x8000 != 0 {
flags = VerFlagHidden
}