summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-30 12:42:50 +0100
committerVolker Lendecke <vlendec@samba.org>2010-12-30 12:52:47 +0100
commitd05fb4b7b79fa5ef240864f0f0f544bbba1b59e3 (patch)
tree446708b74e0a8a4a51ddd12d6dc14590e5ba14a1 /source3/utils
parent86ff8cf227c759189080ade0deb4f5b184bb14f7 (diff)
downloadsamba-d05fb4b7b79fa5ef240864f0f0f544bbba1b59e3.tar.gz
samba-d05fb4b7b79fa5ef240864f0f0f544bbba1b59e3.tar.bz2
samba-d05fb4b7b79fa5ef240864f0f0f544bbba1b59e3.zip
s3: Fix two uninitialized variables
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/nmblookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 4a55647361..c01bb3968b 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -156,7 +156,7 @@ static bool query_one(const char *lookup, unsigned int lookup_type)
{
int j, count, flags = 0;
struct sockaddr_storage *ip_list=NULL;
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_NOT_FOUND;
if (got_bcast) {
char addr[INET6_ADDRSTRLEN];