summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/load-git.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/load-git.c b/core/load-git.c
index 8d3257d0b..49482b6c6 100644
--- a/core/load-git.c
+++ b/core/load-git.c
@@ -348,10 +348,6 @@ static char *pop_cstring(struct membuffer *str, const char *err)
report_error("git-load: string marker without any strings ('%s')", err);
return strdup("");
}
- if (!str->len) {
- report_error("git-load: string marker after running out of strings ('%s')", err);
- return strdup("");
- }
len = strlen(mb_cstring(str)) + 1;
return remove_from_front(str, len);
}