mbox series

[0/3] scan-build fixes

Message ID 20190925020158.751492-1-alexhenrie24@gmail.com (mailing list archive)
Headers show
Series scan-build fixes | expand

Message

Alex Henrie Sept. 25, 2019, 2:01 a.m. UTC
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(-)