git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55e8f2
)
s4:heimdal fix a compile warning
author
Christian Ambach
<ambi@samba.org>
Sat, 6 Feb 2016 09:49:53 +0000
(10:49 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 12 Feb 2016 08:01:14 +0000
(09:01 +0100)
about a potentially uninitialized variable
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/heimdal/lib/krb5/fcache.c
patch
|
blob
|
history
diff --git
a/source4/heimdal/lib/krb5/fcache.c
b/source4/heimdal/lib/krb5/fcache.c
index cb720c0455ff473bbdecc24bc081bde9395dc6b7..4cc4880b0063603bfc0bafc04ff9e6e78d8472b5 100644
(file)
--- a/
source4/heimdal/lib/krb5/fcache.c
+++ b/
source4/heimdal/lib/krb5/fcache.c
@@
-690,8
+690,8
@@
fcc_get_principal(krb5_context context,
krb5_principal *principal)
{
krb5_error_code ret;
- int fd;
- krb5_storage *sp;
+ int fd
= 0
;
+ krb5_storage *sp
= NULL
;
ret = init_fcc (context, id, &sp, &fd, NULL);
if (ret)