mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
checking for NULL really is counter-productive, and this one was also
generating a warning (This used to be commit cd82ba41b8df024f034fcfa24e967ed8c3c8d035)
This commit is contained in:
parent
7a2dc08721
commit
0184f3b6d8
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user