summaryrefslogtreecommitdiff
path: root/src/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c
index 20dcece74..f553de888 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -150,7 +150,7 @@ static int write_symlink(
int git_blob_create_fromfile(git_oid *oid, git_repository *repo, const char *path)
{
- int error = GIT_SUCCESS;
+ int error;
git_buf full_path = GIT_BUF_INIT;
git_off_t size;
struct stat st;