summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-10-04 17:51:47 -0500
committerJunio C Hamano <gitster@pobox.com>2010-10-05 08:41:58 -0700
commit95ae69b95ba595d884d31a5cee92a823ec0c705f (patch)
tree110055d0b63c3c14bd4da80b37ab4700a9ece128
parentd4da4bc764625a9d9d19aec61bc2bb0ddff30d2b (diff)
downloadgit-95ae69b95ba595d884d31a5cee92a823ec0c705f.tar.gz
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 929de15aa9..9c6544daac 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;