summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-10-04 22:51:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-10-05 15:41:58 (GMT)
commit95ae69b95ba595d884d31a5cee92a823ec0c705f (patch)
tree110055d0b63c3c14bd4da80b37ab4700a9ece128
parentd4da4bc764625a9d9d19aec61bc2bb0ddff30d2b (diff)
downloadgit-95ae69b95ba595d884d31a5cee92a823ec0c705f.zip
git-95ae69b95ba595d884d31a5cee92a823ec0c705f.tar.gz
git-95ae69b95ba595d884d31a5cee92a823ec0c705f.tar.bz2
diffcore-pickaxe.c: remove unnecessary curly braces
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--diffcore-pickaxe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c
index 929de15..9c6544d 100644
--- a/diffcore-pickaxe.c
+++ b/diffcore-pickaxe.c
@@ -128,9 +128,8 @@ void diffcore_pickaxe(const char *needle, int opts)
diff_free_filepair(p);
}
- if (opts & DIFF_PICKAXE_REGEX) {
+ if (opts & DIFF_PICKAXE_REGEX)
regfree(&regex);
- }
free(q->queue);
*q = outq;