]> git.ipfire.org Git - thirdparty/git.git/blobdiff - progress.c
completion: nounset mode fixes
[thirdparty/git.git] / progress.c
index 6d2dcff0b6920037463f217d3d699305e8ccc491..3eda914518bfdcd211552d41b5439125b1ea27ed 100644 (file)
@@ -329,13 +329,9 @@ void stop_progress(struct progress **p_progress)
                        trace2_data_intmax("progress", the_repository,
                                           "total_bytes",
                                           (*p_progress)->throughput->curr_total);
-       }
 
-       trace2_region_leave("progress",
-                           p_progress && *p_progress
-                               ? (*p_progress)->title
-                               : NULL,
-                           the_repository);
+               trace2_region_leave("progress", (*p_progress)->title, the_repository);
+       }
 
        stop_progress_msg(p_progress, _("done"));
 }