summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-02-26 10:21:03 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-26 19:29:46 +0100
commita842b7eb49fd640d66aeaec26c05166ef55784f8 (patch)
treee47291fac19702543e59376217f3662ef17730ea /src/python
parent2aa96da5f3a9485d598e345e183a59a4b8e80abb (diff)
downloadsssd-a842b7eb49fd640d66aeaec26c05166ef55784f8.tar.gz
sssd-a842b7eb49fd640d66aeaec26c05166ef55784f8.tar.xz
sssd-a842b7eb49fd640d66aeaec26c05166ef55784f8.zip
Remove unused structures.
Reported by: cppcheck 'struct py_sss_transaction', 'struct resolve_get_domain_stat', 'struct sync_op_res' were defined in implementation modules, but they were not used anywhere. Reviewed-by: Michal Žídek <mzidek@redhat.com>
Diffstat (limited to 'src/python')
-rw-r--r--src/python/pysss.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c
index f56916ddf..668d77c56 100644
--- a/src/python/pysss.c
+++ b/src/python/pysss.c
@@ -76,17 +76,6 @@ typedef struct {
} PySssLocalObject;
/*
- * The transaction object
- */
-struct py_sss_transaction {
- PySssLocalObject *self;
- struct ops_ctx *ops;
-
- bool transaction_done;
- int error;
-};
-
-/*
* Error reporting
*/
static void PyErr_SetSssErrorWithMessage(int ret, const char *message)