X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd6685b30768d78c58f594c4d9f04fd514e16c95..046d682f0f684977b7ba933a128f5c84e06ded0e:/src/os2/fontutil.cpp?ds=sidebyside diff --git a/src/os2/fontutil.cpp b/src/os2/fontutil.cpp index d0e497a31b..264d0b7b2d 100644 --- a/src/os2/fontutil.cpp +++ b/src/os2/fontutil.cpp @@ -392,7 +392,6 @@ void wxFillLogFont( // font, so now we need to generate an ID // long lNumLids = ::GpiQueryNumberSetIds(*phPS); - long lGpiError; if(lNumLids ) { @@ -414,7 +413,7 @@ void wxFillLogFont( } if (*pflId == 0L) *pflId = 1L; - for(unsigned long LCNum = 0; LCNum < lNumLids; LCNum++) + for(unsigned long LCNum = 0; LCNum < (unsigned long)lNumLids; LCNum++) if(alIds[LCNum] == *pflId) ++*pflId; if(*pflId > 254) // wow, no id available! @@ -465,17 +464,12 @@ void wxOS2SelectMatchingFontByName( ) { int i; - int nDiff0; int nPointSize; - int nDiff; int nIs; - int nMinDiff; int nMinDiff0; - int nApirc; int anDiff[16]; int anMinDiff[16]; int nIndex = 0; - STR8 zFn; char zFontFaceName[FACESIZE]; wxString sFaceName; USHORT usWeightClass;