summaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-21 20:18:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-21 20:18:58 -0700
commit004705e33e450c52d6753c55797885aedb6ad769 (patch)
treeee6450d22d781fa6428c308b18038da30ef14f87 /load-git.c
parent6811f77cdd926b6eb42b3dfacae6946667314426 (diff)
downloadsubsurface-004705e33e450c52d6753c55797885aedb6ad769.tar.gz
Fix missing return statement
Returning 0 implies success. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'load-git.c')
-rw-r--r--load-git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/load-git.c b/load-git.c
index 7cb6c7a0a..bd64da478 100644
--- a/load-git.c
+++ b/load-git.c
@@ -1471,6 +1471,7 @@ static int parse_picture_file(git_repository *repo, const git_tree_entry *entry,
pel->len = len;
pel->hash = strdup(name + 4);
git_blob_free(blob);
+ return 0;
}
static int parse_picture_entry(git_repository *repo, const git_tree_entry *entry, const char *name)