From: Eric Biggers Date: Tue, 13 May 2014 01:05:26 +0000 (-0500) Subject: read_dentry(): Remove warning about dentry being unaligned X-Git-Tag: v1.7.0~202 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=571c38735e02179aeba582d7e9935f65e62add6e read_dentry(): Remove warning about dentry being unaligned The code should still work anyway, and the message isn't particularly helpful. --- diff --git a/src/dentry.c b/src/dentry.c index eb7dbb63..3396d169 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -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);