Skip to content
Commit b3c8c980 authored by Jan Kara's avatar Jan Kara
Browse files

udf: Get rid of 0-length arrays



Declare variable length arrays using [] instead of the old-style
declarations using arrays with 0 members. Also comment out entries in
structures beyond the first variable length array (we still do keep them
in comments as a reminder there are further entries in the structure
behind the variable length array). Accessing such entries needs a
careful offset math anyway so it is safer to not have them declared.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 04e8ee50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment