30 May
2024
30 May
'24
2:57 p.m.
On Wed May 29 23:53:28 2024 +0000, Matteo Bruni wrote:
I realize this is my own code (which I kind of hate right now :sweat_smile:), but do you happen to know a practical case where these `min()` are needed? I suspect they are effectively unnecessary, but also not something that this MR should care about. I remember at some point I deep dived into how this worked and was also confused by the usage of min here. I _think_ if block_height was 0 it might be necessary? But AFAICT, block height is always set to at least 1.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5666#note_71796