diff options
| author | Pierre-Olivier Latour <pol@mac.com> | 2014-10-26 10:29:19 -0700 |
|---|---|---|
| committer | Pierre-Olivier Latour <pol@mac.com> | 2014-10-27 09:19:07 -0700 |
| commit | ea66215d87a9cb588d01040f3191236babdbd53f (patch) | |
| tree | 78299a5666678cad499003378150e4b1a1168dd6 /src/pack.c | |
| parent | 116a19d4674237af7a8ff1e1822e3033e1f8f0d7 (diff) | |
| download | libgit2-ea66215d87a9cb588d01040f3191236babdbd53f.tar.gz | |
Removed some useless variable assignments
Diffstat (limited to 'src/pack.c')
| -rw-r--r-- | src/pack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index 516e0f3ca..79032381c 100644 --- a/src/pack.c +++ b/src/pack.c @@ -1105,7 +1105,6 @@ int git_packfile_alloc(struct git_pack_file **pack_out, const char *path) p->pack_keep = 1; memcpy(p->pack_name + root_len, ".pack", sizeof(".pack")); - path_len = path_len - strlen(".idx") + strlen(".pack"); } if (p_stat(p->pack_name, &st) < 0 || !S_ISREG(st.st_mode)) { |
