diff options
author | 2021-05-03 11:50:38 +0200 | |
---|---|---|
committer | 2021-08-11 16:54:44 +0200 | |
commit | b3c8c9801eb9b8e0f73246b4b14efbde1a4c570c (patch) | |
tree | 99e571d7742eb89f6077736fcb12d452c0de7df3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | udf: Remove unused declaration (diff) | |
download | linux-dev-b3c8c9801eb9b8e0f73246b4b14efbde1a4c570c.tar.xz linux-dev-b3c8c9801eb9b8e0f73246b4b14efbde1a4c570c.zip |
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions