Marcus Meissner marcus@jet.franken.de writes:
@@ -530,8 +530,10 @@ static void test_enum_providers(void) /* alloc provider to half the size required * cbName holds the size required */ providerLen = cbName / 2;
- if (!(provider = LocalAlloc(LMEM_ZEROINIT, providerLen)))
- if (!(provider = LocalAlloc(LMEM_ZEROINIT, providerLen))) {
return;LocalFree(pszProvName);
}
Actually, checking for allocation failures in tests is not useful, it's not going to happen.