heimdal: Fix the O3 developer build
authorVolker Lendecke <vl@samba.org>
Wed, 6 May 2015 14:19:12 +0000 (16:19 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 7 May 2015 18:20:19 +0000 (20:20 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/heimdal/lib/krb5/fcache.c

index a9e8327328cf1ce08fbcb661ad8179cef8ad2e7a..cb720c0455ff473bbdecc24bc081bde9395dc6b7 100644 (file)
@@ -1051,7 +1051,7 @@ fcc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
 {
     krb5_error_code ret;
     struct stat sb;
-    int fd;
+    int fd = 0;
 
     ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
     if(ret)