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

Fix -Wzero-length-array

This commit is contained in:
David Tolnay
2015-08-16 09:11:23 -07:00
parent eb2fc1d27e
commit ec7c3cf9a7

@ -64,7 +64,7 @@ struct frame {
stack_ptr env; // jq stack address of frame to return to
stack_ptr retdata; // jq stack address to unwind to on RET
uint16_t* retaddr; // jq bytecode return address
union frame_entry entries[0]; // nclosures + nlocals
union frame_entry entries[]; // nclosures + nlocals
};
static int frame_size(struct bytecode* bc) {