Skip to content

Commit

Permalink
diffcore-pickaxe.c: remove unnecessary curly braces
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Oct 5, 2010
1 parent d4da4bc commit 95ae69b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions diffcore-pickaxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 95ae69b

Please sign in to comment.