- silence "unused but set" warning

svn path=/trunk/; revision=57908
This commit is contained in:
Jérôme Gardou 2012-12-13 18:38:46 +00:00
parent ac12febb5b
commit 45ed0bc0ac

View file

@ -101,7 +101,7 @@ class CComAutoCriticalSection : public CComCriticalSection
public: public:
CComAutoCriticalSection() CComAutoCriticalSection()
{ {
HRESULT hResult; HRESULT hResult __MINGW_ATTRIB_UNUSED;
hResult = CComCriticalSection::Init(); hResult = CComCriticalSection::Init();
ATLASSERT(SUCCEEDED(hResult)); ATLASSERT(SUCCEEDED(hResult));