Commit a32da03d authored by Philipp Rudo's avatar Philipp Rudo Committed by Kazuhito Hagio
Browse files

[PATCH 14/14] fix type mismatch in parse_line()



When compiling with CC=clang the following warning is emitted

 tools.c:150:14: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
	                        argv[j] = NULLCHAR;
	                                  ^~~~~~~~
 ./makedumpfile.h:224:18: note: expanded from macro 'NULLCHAR'
 #define NULLCHAR        ('\0')

As argv is initialized to NULL this line can simply be removed.

Signed-off-by: default avatarPhilipp Rudo <prudo@redhat.com>
parent d155b76e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment