aboutsummaryrefslogtreecommitdiffstats
path: root/prog/prog.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/prog.go')
-rw-r--r--prog/prog.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/prog/prog.go b/prog/prog.go
index f93293b64..34fcfa6e8 100644
--- a/prog/prog.go
+++ b/prog/prog.go
@@ -362,9 +362,6 @@ func replaceArg(arg, arg1 Arg) {
case *PointerArg:
*a = *arg1.(*PointerArg)
case *UnionArg:
- if a.Option != nil {
- removeArg(a.Option)
- }
*a = *arg1.(*UnionArg)
case *DataArg:
*a = *arg1.(*DataArg)