mirror of
https://github.com/golang/go.git
synced 2026-04-03 09:49:56 +09:00
cmd/go: fix ignored error check when sanitizing SwigCXXFiles
Change-Id: Icc78a16c1fd128b14e9113016abdfcd6e91f1c1c Reviewed-on: https://go-review.googlesource.com/c/go/+/746320 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
@@ -3331,7 +3331,7 @@ func (b *Builder) swig(a *Action, objdir string, pcCFLAGS []string) error {
|
||||
}
|
||||
}
|
||||
for _, f := range p.SwigCXXFiles {
|
||||
if b.swigOne(a, f, objdir, pcCFLAGS, true, intgosize); err != nil {
|
||||
if err := b.swigOne(a, f, objdir, pcCFLAGS, true, intgosize); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user