summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>1999-10-22 23:14:11 +0000
committerKen Raeburn <raeburn@mit.edu>1999-10-22 23:14:11 +0000
commit3edb32acbb73c8d52e66ab71b71c0b5896fe5400 (patch)
tree3d76a9325ce553027220e012b597bf9d1d7583a3 /src
parent0d3c166cf0c0bb53f84cb3e5be1582361cdab521 (diff)
downloadkrb5-3edb32acbb73c8d52e66ab71b71c0b5896fe5400.tar.gz
krb5-3edb32acbb73c8d52e66ab71b71c0b5896fe5400.tar.xz
krb5-3edb32acbb73c8d52e66ab71b71c0b5896fe5400.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/asn.1/ChangeLog5
-rw-r--r--src/lib/krb5/asn.1/asn1_decode.c2
2 files changed, 6 insertions, 1 deletions
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 <raeburn@mit.edu>
+
+ * asn1_decode.c (asn1_decode_integer): Initialize "n", to keep gcc
+ happy.
+
Sat Jul 10 10:21:40 1999 Tom Yu <chaoself@mit.edu>
* 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);