mirror of
https://github.com/golang/go
synced 2024-11-25 13:38:00 -07:00
Fix flag assignment
This commit is contained in:
parent
7657976b0c
commit
c123b5d379
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user