aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2023-07-07 01:00:59 +0000
committerDarrick J. Wong <[email protected]>2023-07-08 03:13:41 +0000
commited04a91f718e6e1ab82d47a22b26e4b50c1666f6 (patch)
tree3572406e08705275e2c64280b575a831d1c25f4c /scripts/clang-tools/gen_compile_commands.py
parentxfs: Remove unneeded semicolon (diff)
downloadkernel-ed04a91f718e6e1ab82d47a22b26e4b50c1666f6.tar.gz
kernel-ed04a91f718e6e1ab82d47a22b26e4b50c1666f6.zip
xfs: fix uninit warning in xfs_growfs_data
Quiet down this gcc warning: fs/xfs/xfs_fsops.c: In function ‘xfs_growfs_data’: fs/xfs/xfs_fsops.c:219:21: error: ‘lastag_extended’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 219 | if (lastag_extended) { | ^~~~~~~~~~~~~~~ fs/xfs/xfs_fsops.c:100:33: note: ‘lastag_extended’ was declared here 100 | bool lastag_extended; | ^~~~~~~~~~~~~~~ By setting its value explicitly. From code analysis I don't think this is a real problem, but I have better things to do than analyse this closely. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions