summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-21 18:30:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-21 18:30:15 (GMT)
commitd17811154b2482bae3fd089f29528e7b7b7ce62b (patch)
tree2cfe574ab7b61341efe6666744e85e6ac75da3af /fast-import.c
parentc108a77f8f9de5b42c9661b9d4584f54f57766ec (diff)
parent00a4b0350198ce2039af2360ff5d83a1f8ee6cd9 (diff)
downloadgit-d17811154b2482bae3fd089f29528e7b7b7ce62b.zip
git-d17811154b2482bae3fd089f29528e7b7b7ce62b.tar.gz
git-d17811154b2482bae3fd089f29528e7b7b7ce62b.tar.bz2
Merge branch 'rj/warning-uninitialized-fix'
Compilation fix. * rj/warning-uninitialized-fix: read-cache: fix an -Wmaybe-uninitialized warning -Wuninitialized: remove some 'init-self' workarounds
Diffstat (limited to 'fast-import.c')
-rw-r--r--fast-import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fast-import.c b/fast-import.c
index 58ef360..b5db5d2 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -3005,7 +3005,7 @@ static void cat_blob(struct object_entry *oe, struct object_id *oid)
static void parse_get_mark(const char *p)
{
- struct object_entry *oe = oe;
+ struct object_entry *oe;
char output[GIT_MAX_HEXSZ + 2];
/* get-mark SP <object> LF */
@@ -3022,7 +3022,7 @@ static void parse_get_mark(const char *p)
static void parse_cat_blob(const char *p)
{
- struct object_entry *oe = oe;
+ struct object_entry *oe;
struct object_id oid;
/* cat-blob SP <object> LF */