Commit 8b0e448f5cf18fe68097a89e5b3573fdf87a5dd1

Vicent Marti 2010-11-23T16:51:18

Removed unreachable code (MSVC warning)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/odb.c b/src/odb.c
index fc07a17..0b6fecb 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -1519,8 +1519,6 @@ static int unpack_object(git_rawobj *out, git_pack *p, index_entry *e)
 		default:
 			return GIT_EOBJCORRUPTED;
 	}
-
-	return GIT_SUCCESS;
 }