crypto: return a value from the krb5_init_context stub
authorMarc Dionne <marc.c.dionne@gmail.com>
Sat, 19 Feb 2011 20:11:30 +0000 (15:11 -0500)
committerDerrick Brashear <shadow@dementia.org>
Sun, 20 Feb 2011 13:58:47 +0000 (05:58 -0800)
The krb5_init_context stub is declared as returning an int, so
make it return 0 to avoid a warning.

Change-Id: I1e04d6953cf4daed67c7b1de9414113812148931
Reviewed-on: http://gerrit.openafs.org/4019
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/crypto/rfc3961/context.c

index b5023cb..741c8cf 100644 (file)
@@ -4,5 +4,5 @@
 
 int
 krb5_init_context(krb5_context *ctx) {
-    return;
+    return 0;
 }