Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tag: remove a TODO item from the test suite
[gitweb.git]
/
diff-no-index.c
diff --git
a/diff-no-index.c
b/diff-no-index.c
index 1ae09894d7d11de86b1c0f9238222e7299d11963..df762fd0f7d1ec74175a42de07b064107d3a601a 100644
(file)
--- a/
diff-no-index.c
+++ b/
diff-no-index.c
@@
-185,8
+185,7
@@
static int queue_diff(struct diff_options *o,
struct diff_filespec *d1, *d2;
if (DIFF_OPT_TST(o, REVERSE_DIFF)) {
- unsigned tmp;
- tmp = mode1; mode1 = mode2; mode2 = tmp;
+ SWAP(mode1, mode2);
SWAP(name1, name2);
}