Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cw/completion'
[gitweb.git]
/
strbuf.h
diff --git
a/strbuf.h
b/strbuf.h
index 2262b12683b5d91d536baa0b71094098872200d1..cf1b5409e7c39eba4981a0a23e8250249a9202f1 100644
(file)
--- a/
strbuf.h
+++ b/
strbuf.h
@@
-109,9
+109,7
@@
extern void strbuf_attach(struct strbuf *, void *, size_t, size_t);
*/
static inline void strbuf_swap(struct strbuf *a, struct strbuf *b)
{
- struct strbuf tmp = *a;
- *a = *b;
- *b = tmp;
+ SWAP(*a, *b);
}