fixed compiler warnings

This commit is contained in:
Frank Morgner
2018-02-05 21:59:49 +01:00
parent 09b6c5cfb2
commit a4420262f0
4 changed files with 3 additions and 18 deletions

View File

@@ -138,7 +138,6 @@ void VpcdReader::signalRemoval(void) {
SectionLocker lock(device->m_RequestLock);
while (!waitInsertIpr.empty()) {
CComPtr<IWDFIoRequest> ipr = waitInsertIpr.back();
SectionLocker lock(device->m_RequestLock);
if (ipr->UnmarkCancelable()==S_OK) {
ipr->CompleteWithInformation(HRESULT_FROM_WIN32(ERROR_CANCELLED), 0);
}