Code

diffcore-pickaxe.c: remove unnecessary curly braces
authorBrandon Casey <drafnel@gmail.com>
Mon, 4 Oct 2010 22:51:47 +0000 (17:51 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Oct 2010 15:41:58 +0000 (08:41 -0700)
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-pickaxe.c

index 929de15aa9228099b3a772be788d746e440a9e8c..9c6544daacb6d0c7aeb2cc188d089ee5aeb06c5d 100644 (file)
@@ -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;