{src,util}: Use NULL instead of 0 for pointer

Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26857
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Elyes HAOUAS
2018-06-05 08:41:29 +02:00
committed by Patrick Georgi
parent f061a73ab9
commit 1d3fde4693
9 changed files with 17 additions and 17 deletions

View File

@@ -383,7 +383,7 @@ void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x)
{
int newl, cur_x, cur_y;
int prompt_len, room, wlen;
char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = 0;
char tempstr[MAX_LEN + 1], *word, *sp, *sp2, *newline_separator = NULL;
strcpy(tempstr, prompt);