Fix an uninitialized variable warning
authorVolker Lendecke <vl@samba.org>
Sun, 5 Oct 2008 08:55:30 +0000 (10:55 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Oct 2008 09:08:32 +0000 (11:08 +0200)
Not sure if we can ever not get domain and dns_domain, but gcc complained

source3/libsmb/dsgetdcname.c

index 18010aaa1ce74b567588a2af5c370829b6d07e30..08ab8cad145f2b8e7eac84143e43a55642ce72eb 100644 (file)
@@ -228,6 +228,8 @@ static NTSTATUS store_cldap_reply(TALLOC_CTX *mem_ctx,
                }
        }
 
+       status = NT_STATUS_OK;
+
  done:
        data_blob_free(&blob);