summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 10:37:42 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 10:37:42 +0000
commit0184f3b6d8accd84cdb74da7dfd89df01e89c8b1 (patch)
tree0e625aa02e36b177b720b1d6e05de9ed92babae7
parent7a2dc0872152fa3df572a65d11013ea208a4c8e0 (diff)
downloadsamba-0184f3b6d8accd84cdb74da7dfd89df01e89c8b1.tar.gz
samba-0184f3b6d8accd84cdb74da7dfd89df01e89c8b1.tar.bz2
samba-0184f3b6d8accd84cdb74da7dfd89df01e89c8b1.zip
checking for NULL really is counter-productive, and this one was also
generating a warning (This used to be commit cd82ba41b8df024f034fcfa24e967ed8c3c8d035)
-rw-r--r--source3/libsmb/cliconnect.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index f0b02b97b0..472db69fd0 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1119,11 +1119,6 @@ NTSTATUS cli_full_connection(struct cli_state **output_cli,
struct in_addr ip;
extern pstring global_myname;
- if (!output_cli) {
- DEBUG(0, ("output_cli is NULL!?!"));
- SMB_ASSERT("output_cli for cli_full_connection was NULL.\n");
- }
-
if (!my_name)
my_name = global_myname;