summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-07-09 11:58:40 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-07-09 13:49:21 -0400
commitb186ed8ce10ac711ccde35f6ec5131bcdd59f668 (patch)
tree92d84a4e010aee95dcb5a4db50df20e84d09d1a8 /src/tests
parentd6133b04d4ee47f147db26cd732ea5d209af5b8e (diff)
downloadsssd-b186ed8ce10ac711ccde35f6ec5131bcdd59f668.tar.gz
sssd-b186ed8ce10ac711ccde35f6ec5131bcdd59f668.tar.xz
sssd-b186ed8ce10ac711ccde35f6ec5131bcdd59f668.zip
Fix uninitialized value return
Coverity #12786
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/krb5_child-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c
index 760b95861..82252a610 100644
--- a/src/tests/krb5_child-test.c
+++ b/src/tests/krb5_child-test.c
@@ -369,7 +369,7 @@ print_ccache(const char *cc)
krb5_creds creds;
char *defname = NULL;
int i = 1;
- errno_t ret;
+ errno_t ret = EIO;
kret = krb5_init_context(&kcontext);
CHECK_KRET_L(kret, EIO, done);