Merge tag 'l10n-2.4-maint-de-updates' of git://github.com/git-l10n/git-po into maint
[gitweb.git] / sha1_file.c
index 47f56f2e89d99b58a6d43bb44828c442577424cf..001537c9359bf83fdc4d6c59426a25424be2e803 100644 (file)
@@ -2473,10 +2473,8 @@ static int fill_pack_entry(const unsigned char *sha1,
         * answer, as it may have been deleted since the index was
         * loaded!
         */
-       if (!is_pack_valid(p)) {
-               warning("packfile %s cannot be accessed", p->pack_name);
+       if (!is_pack_valid(p))
                return 0;
-       }
        e->offset = offset;
        e->p = p;
        hashcpy(e->sha1, sha1);