mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Remove unused variable, fix return.
This commit is contained in:
parent
676f3c1c5c
commit
2f438b4cde
@ -702,7 +702,7 @@ sub Interface($$$)
|
||||
$self->pidl("if (!NT_STATUS_IS_OK(status)) {");
|
||||
$self->indent;
|
||||
$self->pidl("PyErr_SetNTSTATUS(status);");
|
||||
$self->pidl("return;");
|
||||
$self->pidl("return NULL;");
|
||||
$self->deindent;
|
||||
$self->pidl("}");
|
||||
|
||||
@ -1181,7 +1181,6 @@ sub Parse($$$$$)
|
||||
$self->pidl("{");
|
||||
$self->indent;
|
||||
$self->pidl("PyObject *m;");
|
||||
$self->pidl("NTSTATUS status;");
|
||||
$self->pidl("");
|
||||
|
||||
foreach (@{$self->{ready_types}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user