about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 7896bb3a0..027c11ca2 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -3120,8 +3120,6 @@ execfuncdef(Estate state, int do_exec)
 	}
 	shfunctab->addnode(shfunctab, ztrdup(s), shf);
     }
-    if (isset(HISTNOFUNCTIONS))
-	remhist();
     state->pc = end;
     return 0;
 }