diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index 3f4f7ae079..a72dfdf81e 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -197,6 +197,7 @@ static bool ProcessFamiliesFromFontList(wxFontEnumerator *This, continue; } + // coverity[returned_null] char *dash = strchr(font + 1, '-'); char *family = dash + 1; dash = strchr(family, '-');