aboutsummaryrefslogtreecommitdiffstats
path: root/prog/mutation.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-26 12:40:31 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-27 17:08:43 +0100
commit5d7477249ba074bbdc9ffbf80314397dbe90e886 (patch)
tree45ad29ae7382dee678b9995c65049abdd8fe80c5 /prog/mutation.go
parente8b49705479678b38c0068e84f1f599af8829184 (diff)
prog: remove unused UnionArg.OptionType
Diffstat (limited to 'prog/mutation.go')
-rw-r--r--prog/mutation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/mutation.go b/prog/mutation.go
index 7a401c854..910f2597f 100644
--- a/prog/mutation.go
+++ b/prog/mutation.go
@@ -212,7 +212,7 @@ func (p *Prog) Mutate(rs rand.Source, ncalls int, ct *ChoiceTable, corpus []*Pro
optType := t.Fields[newIdx]
p.removeArg(c, a.Option)
opt, calls := r.generateArg(s, optType)
- arg1 := MakeUnionArg(t, opt, optType)
+ arg1 := MakeUnionArg(t, opt)
p.replaceArg(c, arg, arg1, calls)
case *CsumType:
panic("bad arg returned by mutationArgs: CsumType")