diff options
author | René Scharfe <l.s.r@web.de> | 2017-01-28 22:42:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-30 14:23:12 -0800 |
commit | 9e2edd66dda418dad751d5eb2e5921e05e57cd30 (patch) | |
tree | 4c81efb368f0fa60a228f64300901cf1ca67e82c /t/t4051/hello.c | |
parent | diff: use SWAP macro (diff) | |
download | tgif-9e2edd66dda418dad751d5eb2e5921e05e57cd30.tar.xz |
graph: use SWAP macro
Exchange the values of graph->columns and graph->new_columns using the
macro SWAP instead of hand-rolled code. The result is shorter and
easier to read.
This transformation was not done by the semantic patch swap.cocci
because there's an unrelated statement between the second and the last
step of the exchange, so it didn't match the expected pattern.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4051/hello.c')
0 files changed, 0 insertions, 0 deletions