From 3edb32acbb73c8d52e66ab71b71c0b5896fe5400 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 22 Oct 1999 23:14:11 +0000 Subject: * asn1_decode.c (asn1_decode_integer): Initialize "n", to keep gcc happy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11875 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/ChangeLog | 5 +++++ src/lib/krb5/asn.1/asn1_decode.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index 50c7808aae..111eaca54e 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,8 @@ +1999-10-06 Ken Raeburn + + * asn1_decode.c (asn1_decode_integer): Initialize "n", to keep gcc + happy. + Sat Jul 10 10:21:40 1999 Tom Yu * asn1_decode.c (asn1_decode_integer): Fix to deal with overflows diff --git a/src/lib/krb5/asn.1/asn1_decode.c b/src/lib/krb5/asn.1/asn1_decode.c index 8a911e55e9..dc0824b6d3 100644 --- a/src/lib/krb5/asn.1/asn1_decode.c +++ b/src/lib/krb5/asn.1/asn1_decode.c @@ -61,7 +61,7 @@ asn1_error_code asn1_decode_integer(buf, val) { setup(); asn1_octet o; - long n; + long n = 0; /* initialize to keep gcc happy */ int i; tag(ASN1_INTEGER); -- cgit