From 0d0fa7c3681e4ef3d0452666a9bc97d4b08391c9 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Fri, 16 Mar 2012 15:56:01 -0700 Subject: Convert attr, ignore, mwindow, status to new errors Also cleaned up some previously converted code that still had little things to polish. --- src/blob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blob.c') 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; -- cgit v1.2.1