Fix -Wzero-length-array
This commit is contained in:
1 parent
eb2fc1d27e
commit
ec7c3cf9a7
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user