summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-10-05 00:51:47 +0200
committerJunio C Hamano <gitster@pobox.com>2010-10-05 17:41:58 +0200
commit95ae69b95ba595d884d31a5cee92a823ec0c705f (patch)
tree110055d0b63c3c14bd4da80b37ab4700a9ece128
parentMerge early part of git-svn into maint (diff)
downloadgit-95ae69b95ba595d884d31a5cee92a823ec0c705f.tar.xz
git-95ae69b95ba595d884d31a5cee92a823ec0c705f.zip
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;