X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e115ed2c71e11ea37c83ed44f3553523ec16560..0b6d76bfd477722d73589b20a15d05b8b570bd61:/src/generic/dcpsg.cpp diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index d1d7bd66d8..a93dffc55a 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1985,10 +1985,6 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, if ( !afmName.empty() ) afmFile = wxFopen(afmName, wxT("r")); - if ( !afmFile ) - { - } - if ( !afmFile ) { #if defined(__UNIX__) && !defined(__VMS__)