diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2023-04-09 00:33:38 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-05-05 22:09:24 +0000 |
commit | 314f4c665f746ebec3be69a8e26f0a671cfdcb46 (patch) | |
tree | d5d58bb64a3847dc5c56b5f46bcb1326c47fd902 /src/target/lakemont.c | |
parent | cd44c6cf83841076b40e7a873285117b7440dd42 (diff) | |
download | riscv-openocd-314f4c665f746ebec3be69a8e26f0a671cfdcb46.zip riscv-openocd-314f4c665f746ebec3be69a8e26f0a671cfdcb46.tar.gz riscv-openocd-314f4c665f746ebec3be69a8e26f0a671cfdcb46.tar.bz2 |
rtos: with pointers, use NULL instead of 0
Don't compare pointers with 0, use NULL when needed.
Don't assign pointer to 0, use NULL.
Detected through 'sparse' tool.
Change-Id: Ifa81ba961c0d490cc74880b4a46b620e6358f779
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7598
Tested-by: jenkins
Diffstat (limited to 'src/target/lakemont.c')
0 files changed, 0 insertions, 0 deletions