summaryrefslogtreecommitdiff
path: root/source3/passdb/py_passdb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-02 12:55:54 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-03 08:09:09 +1000
commit0ef06dd0212c6504740a5e0333440a9be090c088 (patch)
treea102e7124ee71dc9ec82459152915f17a2478411 /source3/passdb/py_passdb.c
parentac1e1af8cc566438e216ca1fb5657605b6dec96e (diff)
downloadsamba-0ef06dd0212c6504740a5e0333440a9be090c088.tar.gz
samba-0ef06dd0212c6504740a5e0333440a9be090c088.tar.bz2
samba-0ef06dd0212c6504740a5e0333440a9be090c088.zip
s3-pypassdb: remove unused variable
Diffstat (limited to 'source3/passdb/py_passdb.c')
-rw-r--r--source3/passdb/py_passdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/py_passdb.c b/source3/passdb/py_passdb.c
index 17ae476b52..b7cc18c562 100644
--- a/source3/passdb/py_passdb.c
+++ b/source3/passdb/py_passdb.c
@@ -196,8 +196,6 @@ static PyObject *py_samu_get_pass_must_change_time(PyObject *obj, void *closure)
static int py_samu_set_pass_must_change_time(PyObject *obj, PyObject *value, void *closure)
{
- struct samu *sam_acct = (struct samu *)pytalloc_get_ptr(obj);
-
PY_CHECK_TYPE(&PyInt_Type, value, return -1;);
/* TODO: make this not a get/set or give a better exception */