Skip to content

Commit

Permalink
Fix -Wzero-length-array
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 16, 2015
1 parent eb2fc1d commit ec7c3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execute.c
Expand Up @@ -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) {
Expand Down

0 comments on commit ec7c3cf

Please sign in to comment.