util-linux/libuuid
Sami Kerola 3c92864ecd
libuuid: ensure variable is initialized [cppcheck]
This fix has a little bit of a feel of making a static analyzer to be happy
instead of real progress.  If I read the preprocessor directives correctly
it should be impossible hit uninitialized variable.  Then again if a bug
creeps into these ifdef's in that case it is nice to have robust code that
doesn't immediately go wrong.

    libuuid/src/gen_uuid.c:200:20: error: Uninitialized variable: a [uninitvar]
       memcpy(node_id, a, 6);
                       ^
    libuuid/src/gen_uuid.c:197:8: error: Uninitialized variable: a [uninitvar]
      if (!a[0] && !a[1] && !a[2] && !a[3] && !a[4] && !a[5])
           ^

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2020-03-29 20:19:11 +01:00
..
man libuuid: add uuid_parse_range() to man page and symbol-table 2020-02-27 14:52:06 +01:00
src libuuid: ensure variable is initialized [cppcheck] 2020-03-29 20:19:11 +01:00
COPYING docs: use SPDX license names 2018-08-16 14:47:21 +02:00
Makemodule.am build-sys: expand paths at make time 2012-08-15 02:06:53 +02:00
uuid.pc.in build-sys: use top-level directory for libuuid rather than shlibs/uuid 2011-06-09 21:54:05 +02:00