summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bytecode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index a382c994..36a3c354 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -3413,7 +3413,7 @@ again:
case IN_SYSTEM: {
debug( prg, REALM_BYTECODE, "IN_SYSTEM\n" );
- Tree *global = vm_pop();
+ vm_pop();
Str *cmd = (Str*)vm_pop();
char *cmd0 = malloc( cmd->value->length + 1 );
@@ -3422,7 +3422,6 @@ again:
int r = system( cmd0 );
- treeDownref( prg, sp, global );
treeDownref( prg, sp, (Tree*)cmd );
Value result = r;