summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAnoop C S <achiraya@redhat.com>2015-03-23 17:11:31 +0530
committerMichael Adam <obnox@samba.org>2015-03-23 16:04:19 +0100
commit73f951e98f7ece73a2429da943127e7b362ace9d (patch)
tree87feddcc860f1b6499f48d37f45036864df337bc /source3/lib
parentb024ea84ff23a658548c0003f122e488ff0e238d (diff)
downloadsamba-73f951e98f7ece73a2429da943127e7b362ace9d.tar.gz
libnetapi: Fix CID 1272947 Fix logically dead code
Signed-off-by: Anoop C S <achiraya@redhat.com> Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/samr.c b/source3/lib/netapi/samr.c
index 7b3d3c58e76..97c61d18099 100644
--- a/source3/lib/netapi/samr.c
+++ b/source3/lib/netapi/samr.c
@@ -45,7 +45,7 @@ WERROR libnetapi_samr_open_domain(struct libnetapi_ctx *mem_ctx,
struct samr_SamArray *sam = NULL;
const char *domain_name = NULL;
struct lsa_String lsa_domain_name;
- bool domain_found = true;
+ bool domain_found = false;
int i;
struct dcerpc_binding_handle *b = pipe_cli->binding_handle;