s3-pypassdb: remove unused variable
authorAndrew Bartlett <abartlet@samba.org>
Wed, 2 May 2012 02:55:54 +0000 (12:55 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 May 2012 22:09:09 +0000 (08:09 +1000)
source3/passdb/py_passdb.c

index 17ae476b52f3106fcc513863d765c5ded2b32aac..b7cc18c5624217deb48f6be88ef782d15f63727c 100644 (file)
@@ -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 */