]> git.saurik.com Git - wxWidgets.git/commitdiff
Coverity CID117: Ignore returned_null here, because we know it can't happen because...
authorMart Raudsepp <leio@gentoo.org>
Thu, 20 Apr 2006 07:08:55 +0000 (07:08 +0000)
committerMart Raudsepp <leio@gentoo.org>
Thu, 20 Apr 2006 07:08:55 +0000 (07:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/fontenum.cpp

index 3f4f7ae079add0e63456c3a515a75bb660068c86..a72dfdf81e8eb56e0cfb5d2da8a775e403a6bce0 100644 (file)
@@ -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, '-');