[ATL]
authorJérôme Gardou <jerome.gardou@reactos.org>
Thu, 13 Dec 2012 18:38:46 +0000 (18:38 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Thu, 13 Dec 2012 18:38:46 +0000 (18:38 +0000)
 - silence "unused but set" warning

svn path=/trunk/; revision=57908

reactos/lib/atl/atlcore.h

index 08e19d4..935b31e 100644 (file)
@@ -101,7 +101,7 @@ class CComAutoCriticalSection : public CComCriticalSection
 public:
        CComAutoCriticalSection()
        {
-               HRESULT                                                         hResult;
+               HRESULT hResult __MINGW_ATTRIB_UNUSED;
 
                hResult = CComCriticalSection::Init();
                ATLASSERT(SUCCEEDED(hResult));