From 40a0dc1b0ef54d5068d15609924617ce5e5a744f Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 20 Apr 2006 07:08:55 +0000 Subject: [PATCH] Coverity CID117: Ignore returned_null here, because we know it can't happen because the Matches() above succeeded git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/fontenum.cpp | 1 + 1 file changed, 1 insertion(+) 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, '-'); -- 2.45.2