5 May
2025
5 May
'25
3:35 p.m.
Rémi Bernon (@rbernon) commented about dlls/windows.devices.enumeration/tests/devices.c:
} winetest_pop_context(); } + + devices = calloc( 1, sizeof( *devices ) * size ); + ok( !!devices, "Unable to allocate array\n" ); + if (devices)
You don't need an if after the test, things are going wrong if it fails anyway. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6874#note_102552