Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84582?usp=email )
Change subject: tree: Use nullptr instead of 0 for-pointer ......................................................................
tree: Use nullptr instead of 0 for-pointer
Change-Id: I1d804ac7910834915057eddb287cf48de7fccaeb Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M payloads/libpayload/curses/form/frm_driver.c M util/cbfstool/amdcompress.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/84582/1
diff --git a/payloads/libpayload/curses/form/frm_driver.c b/payloads/libpayload/curses/form/frm_driver.c index 2759148..03cf24f 100644 --- a/payloads/libpayload/curses/form/frm_driver.c +++ b/payloads/libpayload/curses/form/frm_driver.c @@ -4504,7 +4504,7 @@ NCURSES_EXPORT(char *) field_buffer(const FIELD *field, int buffer) { - char *result = 0; + char *result = nullptr;
T((T_CALLED("field_buffer(%p,%d)"), (const void *)field, buffer));
diff --git a/util/cbfstool/amdcompress.c b/util/cbfstool/amdcompress.c index 76089ea..3b81ffc 100644 --- a/util/cbfstool/amdcompress.c +++ b/util/cbfstool/amdcompress.c @@ -305,7 +305,7 @@ int main(int argc, char *argv[]) { int c; - char *inf = 0, *outf = 0, *scratch; + char *inf = nullptr, *outf = nullptr, *scratch; int direction = DIR_UNDEF; size_t max_size = 0;