]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontenum.cpp
fix for prior commit
[wxWidgets.git] / src / unix / fontenum.cpp
index 0496afeeef74d1e2ec1ecc971a8203622759d4be..a72dfdf81e8eb56e0cfb5d2da8a775e403a6bce0 100644 (file)
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/dynarray.h"
+#ifndef WX_PRECOMP
+    #include "wx/dynarray.h"
+#endif
+
 #include "wx/string.h"
 #include "wx/regex.h"
 #include "wx/utils.h"
@@ -194,6 +197,7 @@ static bool ProcessFamiliesFromFontList(wxFontEnumerator *This,
             continue;
         }
 
+        // coverity[returned_null]
         char *dash = strchr(font + 1, '-');
         char *family = dash + 1;
         dash = strchr(family, '-');