These patches fix a few problems identified by scan-build [1]. None of them affect behavior, but they do make the code easier to follow and ensure that the compiler is able to optimize it to the fullest. -Alex [1] https://clang-analyzer.llvm.org/scan-build.html Alex Henrie (3): commit-graph: remove a duplicate assignment diffcore-break: use a goto instead of a redundant if statement wrapper: use a loop instead of repetitive statements commit-graph.c | 1 - diffcore-break.c | 15 +++++++-------- wrapper.c | 11 +++++------ 3 files changed, 12 insertions(+), 15 deletions(-) -- 2.23.0