summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 11:30:49 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 11:30:49 +0100
commit898dc8978b546c3c67a5678cc6101643b160d710 (patch)
tree5ad3bbe60fd5ffb04a6401f20695426619d6ad49
parentd43084086b82a5fb1ef548dd1166f8640b0ef0f3 (diff)
Add a redundant intialisation to squash a gcc warning.
-rw-r--r--execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/execute.c b/execute.c
index ddca19ce..7deeb0ae 100644
--- a/execute.c
+++ b/execute.c
@@ -168,7 +168,7 @@ jv jq_next(jq_state *jq) {
dump_operation(frame_current_bytecode(&jq->frame_stk), pc);
printf("\t");
const struct opcode_description* opdesc = opcode_describe(opcode);
- data_stk_elem* param;
+ data_stk_elem* param = 0;
int stack_in = opdesc->stack_in;
if (stack_in == -1) stack_in = pc[1];
for (int i=0; i<stack_in; i++) {