summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <drafnel@gmail.com>2010-10-04 17:51:47 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-10-05 08:41:58 -0700
commit95ae69b95ba595d884d31a5cee92a823ec0c705f (patch)
tree110055d0b63c3c14bd4da80b37ab4700a9ece128
parentMerge early part of git-svn into maint (diff)
downloadtgif-95ae69b95ba595d884d31a5cee92a823ec0c705f.tar.xz
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;