summaryrefslogtreecommitdiff
path: root/src/tests
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
parent047332ebbe8397a70c92e5e3a5fbd40a9d00d0b5 (diff)
downloadsssd-f7fa22da5d865221f84371d6b522444e1591164c.tar.gz
sssd-f7fa22da5d865221f84371d6b522444e1591164c.tar.bz2
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')
-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 a3de43c4..bae0794c 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;