Fix a release-only warning that I missed previously
@@ -123,7 +123,11 @@ class WinInetRequestWrapper : public PAL::RefCountedImpl<WinInetRequestWrapper>
// Take over the body buffer ownership, it must stay alive until
// the async operation finishes.
m_bodyBuffer.swap(request->m_body);
- BOOL bResult = ::HttpSendRequest(m_hWinInetRequest, NULL, 0, m_bodyBuffer.data(), (DWORD)m_bodyBuffer.size());
+#ifdef _DEBUG
+ BOOL bResult =
+#endif
+ ::HttpSendRequest(m_hWinInetRequest, NULL, 0, m_bodyBuffer.data(), (DWORD)m_bodyBuffer.size());
+
DWORD dwError = GetLastError();
assert(!bResult);
