summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-14 12:48:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:42:16 -0500
commit0f6791edc62f71876218e97d6f325490899d41de (patch)
treeff0f3bfb2dfa6a41c3089402024698a0c1fe83ae
parentcbe9ae1234d03bd0f79444676f05cc871b143e71 (diff)
downloadsamba-0f6791edc62f71876218e97d6f325490899d41de.tar.gz
samba-0f6791edc62f71876218e97d6f325490899d41de.tar.bz2
samba-0f6791edc62f71876218e97d6f325490899d41de.zip
r11024: r10311@SERNOX: metze | 2005-09-19 11:27:34 +0200
remove doublicate NULL-pointer check metze (This used to be commit eb1dee09652beb6d401cdc2058427db5f18bea67)
-rw-r--r--source4/nbt_server/wins/winsdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index a3199155ab..72531e4c62 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -110,9 +110,6 @@ static struct ldb_dn *winsdb_dn(TALLOC_CTX *mem_ctx, struct nbt_name *name)
struct ldb_dn *dn;
dn = ldb_dn_string_compose(mem_ctx, NULL, "type=%02x", name->type);
- if (dn == NULL) {
- return NULL;
- }
if (dn && name->name && *name->name) {
dn = ldb_dn_string_compose(mem_ctx, dn, "name=%s", name->name);
}