And this patch fixes several more bugs, where functions that are supposed to return char* pointers try to return '\0', which is a char not a char*.
I changed them to return NULL because I'm assuming that was the intention (and is what the code would have done in C++03 and C++11, but it's invalid in C++14).
And this patch fixes several more bugs, where functions that are supposed to return
char*
pointers try to return'\0'
, which is achar
not achar*
.I changed them to
return NULL
because I'm assuming that was the intention (and is what the code would have done in C++03 and C++11, but it's invalid in C++14).