]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libuuid: simplify uuid_is_null() check
authorSami Kerola <kerolasa@iki.fi>
Sun, 22 Nov 2020 21:07:23 +0000 (21:07 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 28 Dec 2020 09:53:12 +0000 (09:53 +0000)
commita6fae86865210256a3de71a8d1bf74c2aca2be9f
treefc6a5a24567aecf33e6bee3550869174326d4a0e
parentab85f756a07aec9e1c5e28c6300530f1937c20f0
libuuid: simplify uuid_is_null() check

There is no need to check uuid byte by byte.  Also by using size of the uuid
type magic constant can be avoided.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libuuid/src/isnull.c