r9569: fixed an uninitialised variable
authorAndrew Tridgell <tridge@samba.org>
Wed, 24 Aug 2005 08:33:56 +0000 (08:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:30 +0000 (13:34 -0500)
source/utils/nmblookup.c

index c8490d08e6c064cf0191a860d5d7c0efd60c5a2b..b74a86d345d69a619bcb0700cc1ba270d0252ae7 100644 (file)
@@ -178,7 +178,7 @@ static void process_one(const char *name)
        enum nbt_name_type node_type = NBT_NAME_CLIENT;
        char *node_name, *p;
        struct nbt_name_socket *nbtsock;
-       NTSTATUS status;
+       NTSTATUS status = NT_STATUS_OK;
 
        if (!options.case_sensitive) {
                name = strupper_talloc(tmp_ctx, name);