summaryrefslogtreecommitdiff
path: root/src/diff_print.c
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-06-15 09:52:40 -0700
committerPierre-Olivier Latour <pol@mac.com>2015-06-15 09:55:12 -0700
commit0f4d9c03676f4226f6af705ae3ad06fcc5a82eb5 (patch)
tree7f88a390ac9618be23afb462deb0153302b186f5 /src/diff_print.c
parentf621f087b2cb6f124a64a57ce2e0113dc92d53bb (diff)
downloadlibgit2-0f4d9c03676f4226f6af705ae3ad06fcc5a82eb5.tar.gz
Fixed Xcode 6.1 build warnings
Diffstat (limited to 'src/diff_print.c')
-rw-r--r--src/diff_print.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/diff_print.c b/src/diff_print.c
index ebae4ea75..c58698368 100644
--- a/src/diff_print.c
+++ b/src/diff_print.c
@@ -335,7 +335,6 @@ static int format_binary(
const char *typename = type == GIT_DIFF_BINARY_DELTA ?
"delta" : "literal";
const char *scan, *end;
- int error = 0;
git_buf_printf(pi->buf, "%s %lu\n", typename, inflatedlen);
pi->line.num_lines++;