Rémi Bernon (@rbernon) commented about dlls/dmime/performance.c:
- hr = perf_dmport_create(This, &port_params);
- if (FAILED(hr))
return hr;
- hr = IDirectSound_CreateSoundBuffer(This->dsound, &desc, &buffer, NULL);
- if (FAILED(hr))
return DSERR_BUFFERLOST;
- /* Update description for creating primary buffer */
- desc.dwFlags |= DSBCAPS_PRIMARYBUFFER;
- desc.dwFlags &= ~DSBCAPS_CTRLFX;
- desc.dwBufferBytes = 0;
- desc.lpwfxFormat = NULL;
- hr = IDirectSound_CreateSoundBuffer(This->dsound, &desc, &primary_buffer, NULL);
- if (FAILED(hr)) {
```suggestion:-0+0 if (FAILED(hr)) { ```