Skip to content

Commit ec7c3cf

Browse files
committedAug 16, 2015
Fix -Wzero-length-array
1 parent eb2fc1d commit ec7c3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎execute.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct frame {
6464
stack_ptr env; // jq stack address of frame to return to
6565
stack_ptr retdata; // jq stack address to unwind to on RET
6666
uint16_t* retaddr; // jq bytecode return address
67-
union frame_entry entries[0]; // nclosures + nlocals
67+
union frame_entry entries[]; // nclosures + nlocals
6868
};
6969

7070
static int frame_size(struct bytecode* bc) {

0 commit comments

Comments
 (0)
Please sign in to comment.