From: Andrew Bartlett Date: Wed, 2 May 2012 02:55:54 +0000 (+1000) Subject: s3-pypassdb: remove unused variable X-Git-Tag: samba-4.0.0alpha21~392 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ef06dd0212c6504740a5e0333440a9be090c088;p=thirdparty%2Fsamba.git s3-pypassdb: remove unused variable --- diff --git a/source3/passdb/py_passdb.c b/source3/passdb/py_passdb.c index 17ae476b52f..b7cc18c5624 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 */