aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-05-17 12:12:49 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-05-17 11:26:58 +0000
commite09a60f8522234ba7968e421dd9d2e6d86af69db (patch)
treebf29f35e518ce6ca4066bd5328c07486baa0933c
parent4130c191205001026ed3fa4ebae0f5253bbe4f04 (diff)
pkg/repro: don't clear the Repro flag
If C reproducers keep on printing "executing program" lines, it will be easier to re-use them during the repro and patch testing.
-rw-r--r--pkg/repro/repro.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go
index b14b537f8..f8148a463 100644
--- a/pkg/repro/repro.go
+++ b/pkg/repro/repro.go
@@ -235,11 +235,6 @@ func (ctx *context) repro() (*Result, error) {
if res == nil {
return nil, nil
}
- defer func() {
- if res != nil {
- res.Opts.Repro = false
- }
- }()
res, err = ctx.minimizeProg(res)
if err != nil {
return nil, err