]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
uuidd: add missing initializer [clang-analyzer]
authorKarel Zak <kzak@redhat.com>
Tue, 9 Jul 2013 12:45:41 +0000 (14:45 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jul 2013 09:17:15 +0000 (11:17 +0200)
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/uuidd.c

index 668aac7a3f796102065da3bcf405e06a30d04f0a..6b0ab256c952cb7ee65116e1a891ed69e9c205d1 100644 (file)
@@ -485,7 +485,7 @@ int main(int argc, char **argv)
        const char      *socket_path = UUIDD_SOCKET_PATH;
        const char      *pidfile_path = NULL;
        const char      *pidfile_path_param = NULL;
-       const char      *err_context;
+       const char      *err_context = NULL;
        char            buf[1024], *cp;
        char            str[UUID_STR_LEN], *tmp;
        uuid_t          uu;