diff options
author | Brian Behlendorf <[email protected]> | 2021-01-22 15:03:56 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-01-26 16:11:46 -0800 |
commit | 7454d2bb8d860bb49353c8b60dc980de82296f73 (patch) | |
tree | 24fdc89274a498ce10644602a71b7ace8e4c7c53 /lib/libefi | |
parent | 62d4287f279a0d184f8f332475f27af58b7aa87e (diff) |
cppcheck: zpool_main.c possible null pointer dereference
Explicitly check for NULL to satisfy cppcheck that "val" can never
be NULL when passed to printf(). This looks like a false positive
since is_blank_str() can never take the false conditional branch
when passed a NULL. But there's no harm in adding the extra check.
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #11508
Diffstat (limited to 'lib/libefi')
0 files changed, 0 insertions, 0 deletions