diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2025-01-26 14:41:59 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2025-01-30 18:30:16 +0100 |
commit | 555a652dfe40619fd316ff7016570734450daf44 (patch) | |
tree | 15d8ab19387d287065ac2ae2aacca0a4a1951061 /nand-utils/nanddump.c | |
parent | 9d755ba03f6947ed0f77df8a2bcdb1b6585dabf9 (diff) |
misc-utils: flashcp: Fix uninitialized variable ‘wrlast_buf’ compiling warning
The compiler compains following message:
misc-utils/flashcp.c:439:3: warning: ‘wrlast_buf’ may be used
uninitialized in this function
It won't bring any problems because variable '‘wrlast_buf’ is always
initialized before being used. Fix the warning by setting 'wrlast_buf'
as NULL when declaring it.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'nand-utils/nanddump.c')
0 files changed, 0 insertions, 0 deletions