diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 989b173844..605a5ade87 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -1849,7 +1849,7 @@ void wxWindowOS2::GetTextExtent( int i; int l; FONTMETRICS vFM; // metrics structure - BOOL bRc; + BOOL bRc = FALSE; char* pStr; ERRORID vErrorCode; // last error id code HPS hPS;