]> wimlib.net Git - wimlib/commitdiff
read_dentry(): Remove warning about dentry being unaligned
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:05:26 +0000 (20:05 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:05:26 +0000 (20:05 -0500)
The code should still work anyway, and the message isn't particularly
helpful.

src/dentry.c

index eb7dbb63d4c0ac8390f5d829475f7214c981d125..3396d16972ee97a37875f038fb28fa8dd058a52a 100644 (file)
@@ -1221,9 +1221,6 @@ read_dentry(const u8 * restrict buf, size_t buf_len,
        p = &buf[offset];
        disk_dentry = (const struct wim_dentry_on_disk*)p;
 
-       if (unlikely((uintptr_t)p & 7))
-               WARNING("WIM dentry is not 8-byte aligned");
-
        /* Get dentry length.  */
        length = le64_to_cpu(disk_dentry->length);