summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-07-03 12:27:17 -0400
committerSimo Sorce <ssorce@redhat.com>2009-07-03 12:44:08 -0400
commitbc1352717c7354005b4e6f70b6a51ed6b5146796 (patch)
treed8a3218ae42d1308d72320cd2e08cf36ff0966ec /server
parent550f27dbdbd00024e483b989ebc033b2cbe0d239 (diff)
downloadsssd-bc1352717c7354005b4e6f70b6a51ed6b5146796.tar.gz
sssd-bc1352717c7354005b4e6f70b6a51ed6b5146796.tar.bz2
sssd-bc1352717c7354005b4e6f70b6a51ed6b5146796.zip
Cleanup warnings in client and server code
Diffstat (limited to 'server')
-rw-r--r--server/providers/krb5/krb5_auth.c3
-rw-r--r--server/tests/sysdb-tests.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/server/providers/krb5/krb5_auth.c b/server/providers/krb5/krb5_auth.c
index 5206bd08..04209558 100644
--- a/server/providers/krb5/krb5_auth.c
+++ b/server/providers/krb5/krb5_auth.c
@@ -437,8 +437,6 @@ static void krb5_pam_handler_done(struct tevent_req *req)
struct krb5_req *kr = tevent_req_callback_data(req, struct krb5_req);
struct pam_data *pd = kr->pd;
struct be_req *be_req = kr->req;
- struct krb5_ctx *krb5_ctx = talloc_get_type(be_req->be_ctx->pvt_auth_data,
- struct krb5_ctx);
struct tgt_req_state *state = tevent_req_data(req, struct tgt_req_state);
int ret;
uint8_t *buf;
@@ -505,7 +503,6 @@ int sssm_krb5_auth_init(struct be_ctx *bectx, struct be_auth_ops **ops,
void **pvt_auth_data)
{
struct krb5_ctx *ctx = NULL;
- bool bool_value = FALSE;
char *value = NULL;
int ret;
struct tevent_signal *sige;
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index ef7145cd..b2dc8ab3 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -600,7 +600,7 @@ static void test_getpwuid(void *pvt, int error, struct ldb_result *res)
static void test_enumgrent(void *pvt, int error, struct ldb_result *res)
{
struct test_data *data = talloc_get_type(pvt, struct test_data);
-/* const int expected = 30; /* 15 groups + 15 users (we're MPG) */
+/* const int expected = 30; / * 15 groups + 15 users (we're MPG) */
const int expected = 15;
data->finished = true;