]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Fixed possible usage of uninitialized variable.
[wxWidgets.git] / src / common / dynlib.cpp
index ab4178d9a0241ea9616738e947acd6576a3fe62d..167249ab207f4ad84ca714a5590bce1736f3b068 100644 (file)
@@ -326,6 +326,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
     bool     failed = FALSE;
     void    *symbol = 0;
 
+    wxUnusedVar(symbol);
 #if defined(__WXMAC__) && !defined(__DARWIN__)
     Ptr                 symAddress;
     CFragSymbolClass    symClass;