git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676f3c1
)
Remove unused variable, fix return.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 11 Nov 2008 16:10:24 +0000
(17:10 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 11 Nov 2008 16:10:24 +0000
(17:10 +0100)
pidl/lib/Parse/Pidl/Samba4/Python.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 38aee2c9d16cd1d30bacb14fac3a943918457a33..a3107d4672fcf61e5823e82906778dfb74954fdc 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/
pidl/lib/Parse/Pidl/Samba4/Python.pm
@@
-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}}) {