Re: debuginfod: Remove always-false comparisons with LONG_MAX

2021-03-02 Thread Mark Wielaard
Hi Timm, On Tue, 2021-03-02 at 09:30 +0100, Timm Bäder via Elfutils-devel wrote: > If I understand the code correctly, these comparisons exist only for > the > curl_off_t cases, in which case dl and cl might be greater than > LONG_MAX. However, in case they are declares as double values, this > ca

debuginfod: Remove always-false comparisons with LONG_MAX

2021-03-02 Thread Timm Bäder via Elfutils-devel
If I understand the code correctly, these comparisons exist only for the curl_off_t cases, in which case dl and cl might be greater than LONG_MAX. However, in case they are declares as double values, this cannot be the case and the comparisons are unnecessary. - Timm