diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2025-01-26 14:42:00 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2025-01-30 18:30:16 +0100 |
commit | 8e8697a4ee2edbc14f16720613cbf408d70eb895 (patch) | |
tree | 416cc68f13ed2e1aaaff302771023ca1056a215e /jffsX-utils/summary.h | |
parent | 555a652dfe40619fd316ff7016570734450daf44 (diff) |
jffsX-utils: jffs2reader: Fix potential null pointer dereference compiling warning for 'path'
The compiler compains following message:
jffsX-utils/jffs2reader.c:697:6: warning: potential null pointer
dereference
It won't bring any problems because the 'path' is guaranteed to be a
non-NULL variable. Fix the warning by adding a NULL pointer check.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'jffsX-utils/summary.h')
0 files changed, 0 insertions, 0 deletions