summaryrefslogtreecommitdiffstats
path: root/src/tests/auth-tests.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-09-24 09:54:45 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-28 13:36:11 -0400
commitf7fa22da5d865221f84371d6b522444e1591164c (patch)
treed7cb422a5a3e43405dc5efc963a1add223ccd884 /src/tests/auth-tests.c
parent047332ebbe8397a70c92e5e3a5fbd40a9d00d0b5 (diff)
downloadsssd-f7fa22da5d865221f84371d6b522444e1591164c.tar.gz
sssd-f7fa22da5d865221f84371d6b522444e1591164c.tar.xz
sssd-f7fa22da5d865221f84371d6b522444e1591164c.zip
Suppress some 'may be used uninitialized' warnings
Additionally the handling of errno and the errno_t return value of functions is fixed in krb5_common.c.
Diffstat (limited to 'src/tests/auth-tests.c')
-rw-r--r--src/tests/auth-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/auth-tests.c b/src/tests/auth-tests.c
index a3de43c47..bae0794c3 100644
--- a/src/tests/auth-tests.c
+++ b/src/tests/auth-tests.c
@@ -161,7 +161,7 @@ static void do_failed_login_test(uint32_t failed_login_attempts,
int expected_counter,
time_t expected_delay)
{
- struct sysdb_test_ctx *test_ctx;
+ struct sysdb_test_ctx *test_ctx = NULL;
int ret;
const char *val[2];
val[1] = NULL;