Re: [PATCH v2 6/8] progress.c: add temporary variable from progress struct

From
Emily Shaffer <hidden>
Date
2021-10-08 04:02:45
Reply to
Ævar Arnfjörð Bjarmason, 2021-09-21
On Tue, Sep 21, 2021 at 01:09:27AM +0200, Ævar Arnfjörð Bjarmason wrote:
Add a temporary "progress" variable for the dereferenced p_progress
pointer to a "struct progress *". Before 98a13647408 (trace2: log
progress time and throughput, 2020-05-12) we didn't dereference
"p_progress" in this function, now that we do it's easier to read the
code if we work with a "progress" struct pointer like everywhere else,
instead of a pointer to a pointer.
Thanks, this looks much nicer :)
Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Reviewed-by: Emily Shaffer <redacted>
Thread (191 messages) 191 messages, 12 authors, last reply 2022-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help