summaryrefslogtreecommitdiff
path: root/server/responder/pam
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-12 14:15:27 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-18 13:48:44 -0500
commit2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8 (patch)
treea4ef215d1fc40fadbed9bb5497fa32a96d151d39 /server/responder/pam
parenta40a817535c28712e27fe2c0f87817af43a249a2 (diff)
downloadsssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.tar.gz
sssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.tar.bz2
sssd-2c5bf74c71443f1680fef4fc0daa4a4c9dd10ad8.zip
Supress warnings with -O2
Diffstat (limited to 'server/responder/pam')
-rw-r--r--server/responder/pam/pamsrv_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index c204e0a8..37aad829 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -487,6 +487,7 @@ static void pam_reply(struct pam_auth_req *preq)
uint32_t user_info_type;
pd = preq->pd;
+ cctx = preq->cctx;
DEBUG(4, ("pam_reply get called.\n"));
@@ -548,8 +549,6 @@ static void pam_reply(struct pam_auth_req *preq)
}
}
- cctx = preq->cctx;
-
if (pd->response_delay > 0) {
ret = gettimeofday(&tv, NULL);
if (ret != EOK) {