1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add a redundant intialisation to squash a gcc warning.

This commit is contained in:
Stephen Dolan
2013-05-09 11:30:49 +01:00
parent d43084086b
commit 898dc8978b

View File

@@ -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++) {