[curl/curl] ef2070: progress: move transfer speed calc into function

Daniel Stenberg <[email protected]> Sat, 08 May 2021 03:30:46 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/progress-transfer-speed/[email protected]>
  Branch: refs/heads/bagder/progress-transfer-speed
  Home:   https://github.com/curl/curl
  Commit: ef20708bec8b76a10fbab73eb3f58789fb67907b
      https://github.com/curl/curl/commit/ef20708bec8b76a10fbab73eb3f58789fb67907b
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-08 (Sat, 08 May 2021)

  Changed paths:
    M lib/progress.c

  Log Message:
  -----------
  progress: move transfer speed calc into function

This silences two scan-build-11 warnings: "The result of the '/'
expression is undefined"

Bug: https://curl.se/mail/lib-2021-05/0022.html


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits