X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95fbc73897ecae0a1d32d61cc9af418298f973c8..ccc040255c07064f2ed96f1a345d21860b202cb6:/src/msw/volume.cpp diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index 397eb7e228..06c454ebc9 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -506,12 +506,13 @@ bool wxFSVolumeBase::Create(const wxString& name) if (!rc) { wxLogError(_("Cannot read typename from '%s'!"), m_volName.c_str()); - return m_isOk; + return false; } m_dispName = fi.szDisplayName; // all tests passed. - return m_isOk = true; + m_isOk = true; + return true; } // Create //=============================================================================