[PATCH] btrfs: fix Wmaybe-uninitialized warning

2019-09-02 Thread Austin Kim
u64 clone_src_i_size; ^ The clone_src_i_size is only used as call-by-reference in a call to get_inode_info(). Silence the warning by initializing clone_src_i_size to 0. Signed-off-by: Austin Kim --- fs/btrfs/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/send.c b/fs/b

Re: [PATCH] btrfs: fix Wmaybe-uninitialized warning

2019-09-10 Thread Austin Kim
Hello, maintainers. If you are available, please review this patch and share the feedback. Thanks, Austin Kim 2019년 9월 3일 (화) 오후 12:30, Austin Kim 님이 작성: > > gcc throws warning message as below: > > ‘clone_src_i_size’ may be used uninitialized in this function > [-Wmayb