Commit 78bc8b69 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: avoid a clang warning about an expression being treated as NULL

When compiling with 'clang', it would say: warning: expression which
evaluates to zero treated as a null pointer constant of type 'char *'.
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -227,7 +227,7 @@ regmatch_t regmatches[10];
int hilite_attribute = A_REVERSE;
/* The curses attribute we use to highlight something. */
#ifndef DISABLE_COLOR
char* specified_color_combo[] = {'\0'};
char* specified_color_combo[] = {NULL};
/* The color combinations as specified in the rcfile. */
#endif
int interface_color_pair[] = {0};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment