Commit 37bfc8e7 authored by Jan Kara's avatar Jan Kara Committed by Treehugger Robot
Browse files

BACKPORT: 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>

Bug: 246669914
(cherry picked from commit b3c8c980)
[ecma_167.h: dchar to dstring componentIdent]
Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
Change-Id: Ia0484d8b1bfb2a05c26938334c18e9d9ad78f382
parent 4872bd9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment