curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: scan-build-11 warnings

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 8 May 2021 12:39:15 +0200 (CEST)

On Sat, 8 May 2021, Patrick Monnerat via curl-library wrote:

> IMHO, this is not only a false positive, but a scan-build bug.
>
> Mabe you can silent it by rephrasing the code. In example:

I tried a whole bunch of variations like that without success. Until I moved
the entire speed calc logic into a separate function and then voila it is no
longer "bad"! =)

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-05-08